Skip to content

Instantly share code, notes, and snippets.

View svarlamov's full-sized avatar

Sasha Varlamov svarlamov

View GitHub Profile
@svarlamov
svarlamov / Main.java
Last active February 16, 2021 06:36 — forked from NeilHanlon/Calculator.java
Main.java
/*
* @name Main.java
*
* Created on Jan 13, 2012, 5:03:48 PM
*/
package plugins;
@svarlamov
svarlamov / theme.scss
Created August 28, 2018 08:43
v1 ES colors
/* Put your variable overrides here */
$primary: #3671B6;
$lightAccent: #8E8BA3;
$darkAccent: #44638A;
$lightShade: #fafafa;
$darkShade: #1B232F;
// Misc
$pt-intent-primary: $primary;
@svarlamov
svarlamov / install_watchman.bash
Created July 16, 2018 09:42
Ubuntu 16.04 Install Facebook Watchman Automatically
#!/usr/bin/env bash
cd ~
git clone https://github.com/facebook/watchman.git
cd watchman/
git checkout v4.7.0
sudo apt-get install -y autoconf automake build-essential python-dev
./autogen.sh
./configure
make
sudo make install
@svarlamov
svarlamov / typeform-countries-list.txt
Last active May 10, 2024 22:44
Typeform Global Countries List (Dropdown, Multiple Choice, Legal)
United States
United Kingdom
China
Canada
United Arab Emirates
Australia
Andorra
Afghanistan
Antigua and Barbuda
Anguilla
import org.apache.commons.io.IOUtils;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.entity.StringEntity;
import org.apache.http.impl.client.DefaultHttpClient;
import org.json.simple.JSONObject;
import org.json.simple.parser.JSONParser;
public class Authenticator {