Skip to content

Instantly share code, notes, and snippets.

🤓
Exploring new things

Jan-Lukas Else jlelse

🤓
Exploring new things
Block or report user

Report or block jlelse

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
@Arinerron
Arinerron / root.sh
Last active Jun 21, 2019
"Root" via dirtyc0w privilege escalation exploit (automation script) / Android (32 bit)
View root.sh
#!/bin/bash
# Give the usual warning.
clear;
echo "[INFO] Automated Android root script started.\n\n[WARN] Exploit requires sdk module \"NDK\".\nFor more information, visit the installation guide @ https://goo.gl/E2nmLF\n[INFO] Press Ctrl+C to stop the script if you need to install the NDK module. Waiting 10 seconds...";
sleep 10;
clear;
# Download and extract exploit files.
echo "[INFO] Downloading exploit files from GitHub...";
@EvgenyOrekhov
EvgenyOrekhov / README.md
Last active Nov 6, 2019
A simple Docker and Docker Compose install script for Ubuntu
View README.md

A simple Docker and Docker Compose install script for Ubuntu

Usage

  1. sh install-docker.sh
  2. log out
  3. log back in

Links

@lexrus
lexrus / enable_disqus_for_ghost_casper_theme.html
Created May 26, 2016
Inject Disqus comment script into Casper of Ghost blog. Append the following code in Settings -> Code Injection -> Blog Footer.
View enable_disqus_for_ghost_casper_theme.html
<script>
(function(disqusid) {
var d=document,sections=document.getElementsByTagName("section")
for(var i=0;i<sections.length;i++){
if(sections[i].className=='share'){
var div=d.createElement('div');
div.setAttribute('id','disqus_thread');
sections[i].parentNode.appendChild(div);
var s=d.createElement('script');
s.src='//'+disqusid+'.disqus.com/embed.js';
@joubertredrat
joubertredrat / readme.md
Last active Nov 26, 2018
Install Gogs from binary on VestaCP panel
View readme.md

Install Gogs from binary on VestaCP

This tutorial was written based on Ubuntu 14.04 with VestaCP.

For this example, I created user cooler, domain repo.my.cooler and database cooler_repo on VestaCP panel.

To install Gogs, you will need to use user with admin rights, on my tutorial I'm using default admin user from VestaCP.

1 - install supervisor.

@PomepuyN
PomepuyN / SettingsAdapter.java
Last active Jun 5, 2018
Functional example of WearableListView
View SettingsAdapter.java
public class SettingsAdapter extends WearableListView.Adapter {
private final Context context;
private final List<SettingsItems> items;
public SettingsAdapter(Context context, List<SettingsItems> items) {
this.context = context;
this.items = items;
}
@nblenke
nblenke / Google Image Resize Proxy
Created Jan 28, 2014
Use Google's Image caching/optimization proxy to resize an image
View Google Image Resize Proxy
(function () {
var img = document.createElement('img');
path = encodeURIComponent('https://s3.amazonaws.com/llama0/burningfiremonkey.gif'),
width = 600,
refresh = 2592000;
img.src = 'https://images1-focus-opensocial.googleusercontent.com/gadgets/proxy?url=' + path + '&resize_w=' + width + '&container=focus&refresh=' + refresh;
document.body.appendChild(img);
}());
@d3m3vilurr
d3m3vilurr / feedly_api.md
Last active Jun 26, 2019
Unofficial Feedly API Document
View feedly_api.md

IDs

  • user_id - user/:uid
  • feed_id - feed/:feed_uri
  • category_id - :user_id/category/:category (special category: global.all, global.uncategorized)
  • tag_id - :user_id/tag/:tag (special tag: global.saved)

APIs

http://cloud.feedly.com/:version/:api

You can’t perform that action at this time.