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
Show hidden characters
{ | |
"path": "C:\\MinGW\\bin\\", | |
"cmd": ["g++", "${file}", "-o", "${file_base_name}.exe"], | |
} |
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
{ | |
"path": "C:\\MinGW\\bin\\", | |
"working_dir": "${file_path}", | |
"cmd": ["g++", "-c", "${file}", "-o", "${file_path}/${file_base_name}.o"], | |
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", | |
"selector": "source.c, source.c++, source.cpp", | |
"variants": | |
[ | |
{ |
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
{ | |
"shell":true, | |
"cmd":["g++ -std=c++11 $file_name -o $file_base_name"] | |
} |
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
[ | |
{ | |
"args": | |
{ | |
"file": "Packages/User/template.sublime-macro" | |
}, | |
"command": "run_macro_file" | |
}, | |
{ | |
"args": |
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
#include <bits/stdc++.h> | |
#define f0(i,n) for(__typeof(n) i=0;i<n;i++) | |
#define rep(i,a,b) for(__typeof(b) i=a;i<=b;i++) | |
#define read(s) freopen(s , "r" ,stdin) | |
#define write(s) freopen(s , "w" , stdout) | |
#define BUG(x) cerr << #x << " = " << x << '\n' | |
using namespace std; | |
const int MAXN = 1003; | |
typedef long long ll; | |
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
#include <bits/stdc++.h> | |
#define f0(i,n) for(__typeof(n) i=0;i<n;i++) | |
#define rep(i,a,b) for(__typeof(b) i=a;i<=b;i++) | |
#define read(s) freopen(s , "r" ,stdin) | |
#define write(s) freopen(s , "w" , stdout) | |
using namespace std; | |
struct BIT{ | |
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
// Update |
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
#include <bits/stdc++.h> | |
#define f0(i,n) for(__typeof(n) i=0;i<n;i++) | |
#define rep(i,a,b) for(__typeof(b) i=a;i<=b;i++) | |
#define read(s) freopen(s , "r" ,stdin) | |
#define write(s) freopen(s , "w" , stdout) | |
#define BUG(x) cerr << #x << " = " << x << '\n' | |
using namespace std; | |
const string pattern = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; |
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
#!/usr/bin/env python | |
# encoding: utf-8 | |
import tweepy #https://github.com/tweepy/tweepy | |
import csv | |
#Twitter API credentials | |
consumer_key = "" | |
consumer_secret = "" | |
access_key = "" |
OlderNewer