Skip to content

Instantly share code, notes, and snippets.

😬
I may be slow to respond.

Anatoli Nicolae anatolinicolae

View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am anatolinicolae on github.
  • I am anatoli (https://keybase.io/anatoli) on keybase.
  • I have a public key ASAWZy0YKSyFcXlDdgoX82oGk1MgE8_cHFGHnv9z5mL6mwo

To claim this, I am signing this object:

@anatolinicolae
anatolinicolae / keybase.md
Created Oct 5, 2017
What a f*ckin proof.
View keybase.md

Keybase proof

I hereby claim:

  • I am anatolinicolae on github.
  • I am anatoli (https://keybase.io/anatoli) on keybase.
  • I have a public key whose fingerprint is 526F 3A19 6A59 42C4 2B10 F6A1 48F2 40D8 F1EB 9C7F

To claim this, I am signing this object:

@anatolinicolae
anatolinicolae / rammesync.js
Last active Oct 4, 2017
Sync source to dest with excludes
View rammesync.js
#!/usr/bin/env node
const exec = require('child_process').exec
let source = process.argv[2]
let destination = process.argv[3]
let command = `rsync -avz `
for (let i = 4; i < process.argv.length; i++) {
command += `--exclude "${process.argv[i]}" `
}
View 10_dns_list.txt
209.244.0.3
209.244.0.4
64.6.64.6
64.6.65.6
8.8.8.8
8.8.4.4
84.200.69.80
84.200.70.40
8.26.56.26
8.20.247.20
@anatolinicolae
anatolinicolae / infinit-backup.php
Last active Feb 23, 2017
Infinit.io links backup
View infinit-backup.php
<?php
// Your current session cookie
$cookie = '';
// Files storage path
$storage_dir = './infinit-backup';
// Don't change anything below this. Just works™
$offset = 0;
@anatolinicolae
anatolinicolae / tomcat-install.sh
Last active Mar 8, 2016
Docked Tomcat installer
View tomcat-install.sh
#!/bin/sh
set -e
user="$(id -un 2>/dev/null || true)"
if [ "$user" != 'root' ]; then
echo "Please run as root"
exit
fi
# Check if cmd exists
@anatolinicolae
anatolinicolae / jsprun.py
Last active Mar 8, 2016
Simple script that compiles Netbeans projects and runs Tomcat in Docker.
View jsprun.py
#!/usr/bin/env python
import click, tempfile, shutil, subprocess, os
"""Simple script that compiles Netbeans projects and runs Tomcat in Docker."""
class jsprun:
def __init__(self, d, n):
self.d = d
self.n = n
@anatolinicolae
anatolinicolae / dabblet.css
Created Jun 19, 2012
Stylish Gradient Buttons
View dabblet.css
/**
* Stylish Gradient Buttons
*/
/**
* Designed and coded by Anatoli Nicolae
* http://dribbble.com/anatolinicolae
*/
body {
background: #f5f5f5;
@anatolinicolae
anatolinicolae / dabblet.css
Created Jun 19, 2012
Stylish Gradient Buttons
View dabblet.css
/**
* Stylish Gradient Buttons
*/
/**
* Designed and coded by Anatoli Nicolae
* http://dribbble.com/anatolinicolae
*/
body {
background: #f5f5f5;
You can’t perform that action at this time.