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
/* Android ssl certificate pinning bypass script for various methods | |
by Maurizio Siddu | |
Run with: | |
frida -U -f <APP_ID> -l frida_multiple_unpinning.js [--no-pause] | |
*/ | |
setTimeout(function() { | |
Java.perform(function() { | |
console.log(''); |
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 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
static const Widget _home = HomePage(); | |
@override | |
Widget build(BuildContext context) => MaterialApp( | |
home: _home, | |
); |
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 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
static const Widget _home = HomePage(); | |
@override | |
Widget build(BuildContext context) => MaterialApp( | |
home: _home, | |
); |
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
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
// For use with phantomjs | |
// | |
// Assuming is a list of URLs from http://www.gratisrijbewijsonline.be | |
// Scrape each URL using | |
// | |
// for link in $(<links.txt) | |
// do | |
// phantomjs extract.js $link | |
// done |
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
#compdef tldr | |
local -a pages oses | |
pages=$(tldr -a1) | |
oses='( linux osx sunos )' | |
# What are all those options foooor | |
_arguments \ | |
'(- *)'{-h,--help}'[show help]' \ | |
'(- *)'{-v,--version}'[show version number]' \ |
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 lasagne | |
import numpy as np | |
import theano | |
import theano.tensor as T | |
from lasagne.layers import cuda_convnet | |
conv_layer = cuda_convnet.Conv2DCCLayer | |
batch_size = 4 | |
num_frames = 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
"""""""""""" | |
" SETTINGS " | |
"""""""""""" | |
" C-n won't work on Linux, use Tab to cycle suggestions | |
set nocncpcompletion | |
" It's really annoying when websites get autofocus, messes up the flow | |
set noautofocus | |
" Had this on for a while but it gets annoying |
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
/* | |
* CSS file for cVim. Focus on visibility without interfering. | |
* Based on this gist: | |
*/ | |
@import url(https://fonts.googleapis.com/css?family=Source+Code+Pro:500); | |
#cVim-link-container, .cVim-link-hint, #cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, .cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right, #cVim-hud, #cVim-status-bar { | |
font-family: "Source Code Pro"; | |
font-size: 14px; |