The intent is to define terse, standards-supported names for AWS regions.
This file contains hidden or 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
| sudo apt-get update | |
| sudo apt-get install \ | |
| python-dev \ | |
| python-pip \ | |
| python-virtualenv | |
| virtualenv findbots | |
| source findbots/bin/activate | |
| curl -O http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz |
This file contains hidden or 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"?> | |
| <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.myapp"> | |
| <application android:allowBackup="true" android:icon="@mipmap/ic_launcher android:label="@string/app_name" | |
| android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme"> | |
| <service android:name=".ForegroundService" android:enabled="true" android:exported="true"></service> | |
| <activity | |
| android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" |
- Connect to your EC2 instance
- Install zsh :
sudo apt-get update && sudo apt-get install zsh - Edit your passwd configuration file to tell which shell to use for user
ubuntu:sudo vim /etc/passwd - Look for
ubuntuuser, and replacebin/bashbybin/zsh - Install OhMyZsh :
sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)" - Disconnect from your instance and reconnect it.
This file contains hidden or 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 telethon import TelegramClient | |
| from telethon.errors.rpc_errors_401 import SessionPasswordNeededError | |
| # (1) Use your own values here | |
| api_id = 17349 | |
| api_hash = '344583e45741c457fe1862106095a5eb' | |
| phone = 'YOUR_NUMBER_HERE' | |
| username = 'username' |
This file contains hidden or 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
| #!/usr/bin/env /usr/local/bin/node | |
| // jshint esversion: 8 | |
| // <bitbar.title>Weather Bitbar Plugin</bitbar.title> | |
| // <bitbar.version>v0.1</bitbar.version> | |
| // <bitbar.author>Truong Nguyen</bitbar.author> | |
| // <bitbar.author.github>Ppang0405</bitbar.author.github> | |
| // <bitbar.desc>getWeather</bitbar.desc> | |
| "use strict"; | |
| const https = require("https"); |
This file contains hidden or 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
| // | |
| // Regular Expression for URL validation | |
| // | |
| // Author: Diego Perini | |
| // Created: 2010/12/05 | |
| // Updated: 2018/09/12 | |
| // License: MIT | |
| // | |
| // Copyright (c) 2010-2018 Diego Perini (http://www.iport.it) | |
| // |
This file contains hidden or 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
| { | |
| "bootstrapped": true, | |
| "in_process_packages": | |
| [ | |
| ], | |
| "installed_packages": | |
| [ | |
| "1Self", | |
| "Anaconda", | |
| "AutoFileName", |
This file contains hidden or 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
| { | |
| "auto_complete": false, | |
| "color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme", | |
| "font_face": "Source Code Pro", | |
| "ignored_packages": | |
| [ | |
| "HTML-CSS-JS Prettify", | |
| "LaTeXTools", | |
| "LSP", | |
| "Vintage" |