Skip to content

Instantly share code, notes, and snippets.

View FabianBeiner's full-sized avatar
I need coffee.

Fabian Beiner FabianBeiner

I need coffee.
  • STAR COOPERATION GmbH
  • Berlin, Germany
  • 07:14 (UTC +02:00)
  • X @FabianBeiner
View GitHub Profile
@itst
itst / XING-vcards.scpt
Created February 20, 2019 09:12
Using Safari and DEVONagent to download your contacts' vCards off XING. Rewrite it to download with Safari or create a textfile with all the links.
tell application "Safari"
set nextPage to "https://www.xing.com/contacts/contacts"
repeat while nextPage is not "-"
open location nextPage
my waitForPageLoad()
delay (random number from 0.2 to 1.0)
my getVcardLinks()
set nextPage to my gotoNextPage()
end repeat
end tell
@Biswa96
Biswa96 / Remove_MIUI_Bloatware.CMD
Last active April 7, 2024 15:38
Remove bloatware applications from MIUI ROM in Xiaomi phones
@echo off
set /p Y=Enter adb.exe folder path:
cd /d %Y%
adb devices
pause
for %%X in (
"com.amazon.appmanager"
"com.android.browser"
"com.android.chrome"
"com.android.email"
@giordanocardillo
giordanocardillo / README.MD
Last active March 31, 2024 09:48
Remove Office 2016 Product Key
  1. Open a command prompt as Administrator
  2. In the command prompt, type the following:
  • Office 2016 (32-bit) on a 32-bit version of Windows

    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (32-bit) on a 64-bit version of Windows

    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

  • Office 2016 (64-bit) on a 64-bit version of Windows

@patik
patik / how-to-squash-commits-in-git.md
Last active October 17, 2023 02:19
How to squash commits in git

Squashing Git Commits

The easy and flexible way

This method avoids merge conflicts if you have periodically pulled master into your branch. It also gives you the opportunity to squash into more than 1 commit, or to re-arrange your code into completely different commits (e.g. if you ended up working on three different features but the commits were not consecutive).

Note: You cannot use this method if you intend to open a pull request to merge your feature branch. This method requires committing directly to master.

Switch to the master branch and make sure you are up to date:

@adewes
adewes / README.md
Last active February 13, 2024 16:39
Ebay Ads - Bot. Because who wants to write messages by hand...

To use this bot:

  • Download ads_bot.py and requirements.txt.
  • Type pip install -r requirements.txt to install the requirements.
  • Fill out the required information in the Python file.
  • Ideally, create a (free) Slack account and set up a web hook to receive notifications from the bot.
  • Run the script :)
  • Relax and be ready to answer incoming calls :D
@JLarky
JLarky / 1_README.md
Last active January 19, 2022 22:35 — forked from Daniel15/1_README.md

Google Drive File Picker Example

This is an example of how to use the Google Drive file picker and Google Drive API to retrieve files from Google Drive using pure JavaScript. At the time of writing (14th July 2013), Google have good examples for using these two APIs separately, but no documentation on using them together.

Note that this is just sample code, designed to be concise to demonstrate the API. In a production environment, you should include more error handling.

See a demo at http://stuff.dan.cx/js/filepicker/google/

@lelandbatey
lelandbatey / whiteboardCleaner.md
Last active April 25, 2024 02:01
Whiteboard Picture Cleaner - Shell one-liner/script to clean up and beautify photos of whiteboards!

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results

@IronistM
IronistM / track_email_opens.js
Last active January 26, 2018 16:45
How to Track Gmail Messages with Google Analytics modified for Universal Analytics tracking. You will need to copy this spreadsheet http://goo.gl/Tk1nR8 and then open Tools > Script Editor to replace the existing code or simply add the /* Universal Analytics Tracking */ part
/*
Email Tracking with Google Analytics
====================================
Written by Amit Agarwal on 09/24/2013
Tutorial: http://labnol.org/?p=8082
YouTube : http://youtu.be/9T_EqwQnZY0
Support : http://twitter.com/labnol
@malarkey
malarkey / Three Wise Monkeys.md
Created December 2, 2012 14:26
Three Wise Monkeys (NDA)

Date: [date]

Between us [company name] and you [customer name].

Summary:

In short; neither of us will share any confidential information about each-other, by any means, with anyone else.

What’s confidential information?

@malarkey
malarkey / Contract Killer 3.md
Last active April 16, 2024 21:44
The latest version of my ‘killer contract’ for web designers and developers

When times get tough and people get nasty, you’ll need more than a killer smile. You’ll need a killer contract.

Used by 1000s of designers and developers Clarify what’s expected on both sides Helps build great relationships between you and your clients Plain and simple, no legal jargon Customisable to suit your business Used on countless web projects since 2008

…………………………