#JSONView Theme
Now you can tell Git not to guess committer identity, but rather to insist that you set user.name and user.email explicitly before it will let you commit:
git config --global user.useconfigonly true
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
-- Create names table | |
CREATE TABLE names( | |
name STRING, | |
gender Array<String>, | |
origin Array<String>, | |
version DOUBLE | |
) | |
ROW FORMAT DELIMITED | |
FIELDS TERMINATED BY '\073' | |
COLLECTION ITEMS TERMINATED BY ','; |
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
#!/bin/bash | |
# | |
# To use: | |
# ./cloudflare_check.sh list.csv | |
# ./cloudflare_check.sh urls.txt | |
# | |
# I made this to check my 1Password logins. | |
# You can export all of your logins by going into | |
# File > Export > All Items | |
# http://i.imgur.com/orMuAob.jpg |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.37254902720451355</real> |
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
ZSH_THEME="bullet-train" | |
BULLETTRAIN_PROMPT_CHAR="➤" | |
BULLETTRAIN_DIR_EXTENDED=2 | |
BULLETTRAIN_NVM_SHOW=true | |
BULLETTRAIN_EXEC_TIME_SHOW=false | |
BULLETTRAIN_EXEC_TIME_BG="yellow" | |
BULLETTRAIN_EXEC_TIME_FG="black" | |
BULLETTRAIN_VIRTUALENV_FG="black" |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.37254902720451355</real> |
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
import pandas as pd | |
input_file = "input.csv" | |
output_file = "output.csv" | |
sep = ";" | |
columns = ["column1", "column2", "anotherone"] | |
df = pd.DataFrame.from_csv(input_file, sep=sep) | |
df.drop(df[columns], axis=1, inplace=True) | |
df.to_csv(output_file, sep=sep) |
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
import pandas as pd | |
input_file = "input.csv" | |
output_file = "output_find.csv" | |
sep = ";" | |
df = pd.DataFrame.from_csv(input_file, sep=sep) | |
column1 = df['one'] > 123 | |
column2 = df['two'] == "something" |
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
if #available(iOS 11.0, *) { | |
if (UIApplication.shared.keyWindow?.safeAreaInsets != UIEdgeInsets.zero) { | |
print("I am an iPhone X") | |
} | |
} |