This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upath=$(eval echo ~$USER) | |
active_shell=$(eval echo "$SHELL") | |
installed=0 | |
sleep 1 | |
function cleanup() | |
{ | |
if [ $installed -eq 0 ]; then | |
echo "" | |
echo "Cleaning up..." | |
echo "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from keras.models import Sequential | |
from keras.layers import Dense | |
import enum | |
import names | |
#? Renkler class'ı | |
class Renk(enum.Enum): | |
Kirmizi = 1 | |
Yesil = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text="Yeyyyyyyyyyyy 6 colorsssss" | |
max=999 | |
#Iter over 0 and 999 | |
for ((e=0; e<${max}; e++)); | |
do | |
#Iterate all chars | |
for (( i=0; i<${#text}; i++ )); | |
do | |
#Get int between 31 and 37 | |
randomColorInt=$(shuf -i 31-37 -n 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Chunker<T> { | |
Chunker(this.items, this.chunkCount); | |
final int chunkCount; | |
final List<T> items; | |
List<List<T>> chunks() { | |
List<List<T>> chunks = []; | |
List<T> tempList = []; | |
int count = 0; | |
for (int i = 0; i <= this.items.length - 1; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
layer = 0 | |
maxLayer = 2 | |
turn = 0 | |
turtle.digDown() | |
while (true) do | |
if turn == 0 then | |
turtle.forward() | |
elseif turn == 1 then | |
turtle.forward() | |
elseif turn == 2 then |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Sant Julia de Loria": { | |
"country": "AD", | |
"lat": "42.46372", | |
"lng": "1.49129" | |
}, | |
"Pas de la Casa": { | |
"country": "AD", | |
"lat": "42.54277", | |
"lng": "1.73361" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Afghanistan": { | |
"code": "AF" | |
}, | |
"Aland Islands": { | |
"code": "AX" | |
}, | |
"Albania": { | |
"code": "AL" | |
}, |