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
unbindall | |
bind "1" "slot1" | |
bind "2" "slot2" | |
bind "3" "slot3" | |
bind "4" "slot4" | |
bind "5" "slot5" | |
bind "a" "+moveleft" | |
bind "b" "buymenu" | |
bind "c" "slot8" | |
bind "d" "+moveright" |
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
var fs = require('fs'); | |
var path = require('path'); | |
function readEnv() {} | |
readEnv.prototype.get = function(index, other) { | |
var root = __dirname.replace('test' + path.sep + 'Libs', ''); | |
var contents = fs.readFileSync(root + '.env', 'utf8').split("\n"); |
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
cl_crosshairstyle 2; | |
cl_crosshairalpha 255; | |
cl_crosshairdot 0; | |
cl_crosshairsize 2; | |
cl_crosshairthickness 0.5 | |
cl_crosshairgap 3; | |
// green | |
cl_crosshaircolor 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
def index(request): | |
if request.method == 'GET': | |
return render(request,'task/index.html') | |
elif request.method == 'POST': | |
t = request.POST.get("task", "") | |
fb = get_fb(t) ... | |
ig = get_insta(t) | |
tw = get_twitter(t) | |
gp = get_gplus(t) | |
result = 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
#[derive(Debug, Clone, Copy)] | |
pub struct User<'a>{ | |
pub token: &'a Vec<String>, | |
pub look: &'a usize, | |
} | |
impl<'a> User<'a>{ | |
pub fn display(self){ | |
println!("{:?}", self); | |
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
#[derive(Debug, Clone, Copy)] | |
pub struct User<'a>{ | |
pub Token: &'a Vec<String>, | |
pub look: &'a usize, | |
} | |
impl<'a> User<'a>{ | |
pub fn display(u: User){ | |
println!("{:?}", u); | |
} |
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 os | |
import glob | |
path = '~/send/*.JPG' | |
files = glob.glob(path) | |
for f in files: | |
os.system('convert -resize 24% ' + f + ' ' + f.replace('/send/', '/send/new/')) |
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
https://www.youtube.com/watch?v=bxjw_8RpoNI |
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
fn main() { | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;;;;;;;;;;;;println!("It works :)");;;;;;;;;;;;;;; | |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
} |
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
<?php | |
use Illuminate\Database\Schema\Blueprint; | |
use Illuminate\Database\Migrations\Migration; | |
class CreateTankAuthTables extends Migration | |
{ | |
/** | |
* Run the migrations. | |
* |