Skip to content

Instantly share code, notes, and snippets.

Working from home

Aleksandr Fesenko smithua

Working from home
Block or report user

Report or block smithua

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
smithua / remove facebook members from group
Last active Feb 25, 2019
This script will remove all facebook group members
View remove facebook members from group
* This script will remove all facebook group members.
* @author: smithua
* Usage:
* Load as many users as you need, then open console and paste this script.
* Sometimes after opening confirm dialog the page look "freeze" for a while
* Its OK and it takes time to remove all members.
View .stylelintrc
"rules": {
"at-rule-name-case": "lower",
"at-rule-name-space-after": "always-single-line",
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": "always",
"selector-pseudo-element-colon-notation": "single",
"selector-pseudo-element-case": "lower",
View google.font.api
WebFontConfig = {
google: { families: [ 'Droid Serif','Lato:400,400i,700,700i,900,900i','Montserrat','Open Sans','Poiret One','Raleway','Roboto','Roboto Slab','Scope One'] },
classes: false, timeout: 9000
// !function(w) {
// var wf = w.document.createElement('script'), s = w.document.scripts[0];
// wf.src = '';
// wf.async="false";
// s.parentNode.insertBefore(wf, s);
View open-chrome-tabs-in-safari.scpt
tell application "Google Chrome"
set tab_list to every tab in the front window
repeat with the_tab in tab_list
set the_url to the URL of the_tab
tell application "Safari" to open location the_url
end repeat
end tell
View breakpoints
/* Extra Small Devices, Phones */
@media only screen and (min-width : 480px) {
/* Small Devices, Tablets */
@media only screen and (min-width : 768px) {
View loader (base64)
View postgresql install
sudo sh -c 'echo "deb `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
wget -q -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install postgresql postgresql-contrib
View offscreen
@mixin offscreen {
clip:rect(0 0 0 0);
smithua / gulpfile.js
Created Aug 23, 2015
View gulpfile.js
// npm install gulp gulp-sass gulp-autoprefixer gulp-minify-css gulp-concat gulp-newer gulp-livereload gulp-plumber beepbeep colors --save
var gulp = require('gulp'),
sass = require('gulp-sass'),
autoprefixer = require('gulp-autoprefixer'),
minifyCSS = require('gulp-minify-css'),
newer = require('gulp-newer'),
livereload = require('gulp-livereload'),
plumber = require('gulp-plumber'),
beep = require('beepbeep'),
You can’t perform that action at this time.