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 | |
from tqdm import tqdm | |
import urllib.request | |
# data_url = 'https://raw.githubusercontent.com/inigoflores/ds-codigos-postales-ine-es/master/data/codigos_postales_municipios.csv' | |
data_url = 'https://raw.githubusercontent.com/inigoflores/ds-codigos-postales-ine-es/master/data/codigos_postales_municipios_entidades.csv' | |
response = urllib.request.urlretrieve(data_url, "codigos_postales.csv") |
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
lane :submit_testflight do | |
# Increment the build number using the | |
# latest Testflight build number. | |
increment_build_number( | |
build_number: latest_testflight_build_number() + 1, | |
xcodeproj: "./"+name+".xcodeproj" | |
) | |
# Build the application using the |
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
ls -R $@ | grep ":$" | perl -pe 's/:$//;s/[^-][^\/]*\// /g;s/^ (\S)/└── \1/;s/(^ | (?= ))/│ /g;s/ (\S)/└── \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
<?xml version='1.0' encoding='UTF-8'?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
"http://www.apple.com/DTDs/PropertyList-1.0.dtd" > | |
<plist version='1.0'> | |
<dict> | |
<key>Label</key> | |
<string>gitlab-runner</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>sudo</string> |
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
{"lastUpload":"2022-02-08T22:58:30.121Z","extensionVersion":"v3.4.3"} |
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 WebView { | |
let webView: WKWebView = { | |
let webView = WKWebView() | |
webView.translatesAutoresizingMaskIntoConstraints = false | |
webView.alpha = 1 | |
webView.isOpaque = false | |
return webView | |
}() | |
override func viewDidLoad() { |
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 | |
echo -n "Binding devices..." | |
sudo vfio-bind 0000:01:00.0 0000:01:00.1 0000:00:19.0 | |
echo "Starting Synergy" | |
#sudo systemctl start synergys@trimm | |
echo -n "Disabling display VGA1..." | |
xrandr --output VIRTUAL1 --off --output DP1 --off --output HDMI3 --mode 1920x1080 --pos 1920x0 --rotate normal --output HDMI2 --off --output HDMI1 --off --output VGA1 --off |