Feature Name: (fill me in with a unique identity, myawesomefeature)
Type: (feature, enhancement)
Start Date: (fill me in with today's date, YYYY-MM-DD)
Author: (your names)
#!/bin/bash | |
# Adapted from https://stackoverflow.com/a/47436840 | |
function lib_installed() { /sbin/ldconfig -N -v $(sed 's/:/ /' <<< $LD_LIBRARY_PATH) 2>/dev/null | grep $1; } | |
function check() { lib_installed $1 && echo "$1 is installed" || echo -e "\nERROR: $1 is NOT installed\n"; } | |
check libcuda.so | |
check libcudart | |
check libcudnn |
{ lib | |
, stdenv | |
, jdk | |
, gradle | |
, mavenRepo | |
}: | |
stdenv.mkDerivation { | |
pname = "built-with-gradle"; | |
version = "0.0"; |
import tiktoken | |
import langdetect | |
T = tiktoken.get_encoding("o200k_base") | |
length_dict = {} | |
for i in range(T.n_vocab): | |
try: | |
length_dict[i] = len(T.decode([i])) | |
except: |
Other people's projects:
https://github.com/laracasts/URL-Shortener URL Shortener by Jeffrey Way
URL shortener web application based on the Laravel PHP Framework.
https://github.com/realodix/urlhub
https://github.com/basco-johnkevin/laravelsnippets Source code of http://laravelsnippets.com website
As pointed out from comments these are mostly for Samsung, I have added some for HTC below. Like I said this is just a start we can build form it. If anyone would like to create a Google Doc from this information please feel free I will add a link to this post. | |
SAMSUNG CODES | |
Code Description | |
*#*#4636#*#* Display information about Phone, Battery and Usage statistics | |
*#*#7780#*#* Restting your phone to factory state-Only deletes application data and applications | |
*2767*3855# It's a complete wiping of your mobile also it reinstalls the phones firmware | |
*#*#34971539#*#* Shows completes information about the camera | |
*#*#7594#*#* Changing the power button behavior-Enables direct poweroff once the code enabled | |
*#*#273283*255*663282*#*#* For a quick backup to all your media files | |
*#*#197328640#*#* Enabling test mode for service activity |