Skip to content

Instantly share code, notes, and snippets.

View tiptronic's full-sized avatar

Andy Fuchs tiptronic

  • Bad Bevensen, Germany
  • 05:46 (UTC +02:00)
  • X @tiptronic
View GitHub Profile
@tiptronic
tiptronic / version.json
Last active April 15, 2024 12:12
latest plugin version philipshue
{
"version": 16
}
@tiptronic
tiptronic / bb4.geojson
Created February 4, 2024 19:27
bürgerbus feature collection geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tiptronic
tiptronic / gist:1095fdaa59a67f02f58cab3138823c8a
Created January 20, 2023 13:39
git - moving files from one repo to another
```bash
git clone <git repository A url>
cd <git repository A directory>
git remote rm origin
git filter-branch --subdirectory-filter <directory 1> -- --all
mkdir -p <target-path in="" repo-b="">
git mv -k * <target-path in="" repo-b="">
git add .
git commit
```
#!/bin/bash
SIMULATOR_NAME="$1"
COMMAND="$2"
print_params () {
echo "$1. Example:
./scripts/ios_simulator_cli.sh SIMULATOR_NAME COMMAND
Where COMMAND can be:
create - create new simulator
shutdown - shutdown simulator
@tiptronic
tiptronic / brew_quicklook_andy.sh
Created December 22, 2017 14:31
Quicklook Plugins
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch quicklook-csv qlimagesize webpquicklook suspicious-package quicklookase qlvideo
@tiptronic
tiptronic / vuejs.txt
Created December 9, 2017 22:31
Vue.js Resources
Vue.js Developers Resource
https://vuejsdevelopers.com/
Simple Asynchronous Infinite Scroll with Vue Watchers
https://scotch.io/tutorials/simple-asynchronous-infinite-scroll-with-vue-watchers
Build a Vue.js Contact App
https://scotch.io/tutorials/getting-started-with-firebase-cloud-firestore-build-a-vue-contact-app
Build an App with VueJS and Django
@tiptronic
tiptronic / restapi.txt
Created December 9, 2017 22:30 — forked from chrismccoy/restapi.txt
WordPress REST API Resources
Allow ALL cross origin requests to WordPress REST API
https://github.com/Shelob9/rest-all-cors
WordPress theme using Rest API and Vue.js
https://github.com/rtCamp/VueTheme
WordPress Post from Front End using REST API and Vue.js
http://jimfrenette.com/2017/01/post-from-front-end-wp-api-vuejs/
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
@tiptronic
tiptronic / meta-tags.md
Created March 19, 2016 21:16
Complete List of HTML Meta Tags

Copied from http://code.lancepollard.com/complete-list-of-html-meta-tags/

Basic HTML Meta Tags

<meta name="keywords" content="your, tags"/>
<meta name="description" content="150 words"/>
<meta name="subject" content="your website's subject">
<meta name="copyright"content="company name">
<meta name="language" content="ES">

Keybase proof

I hereby claim:

  • I am tiptronic on github.
  • I am tiptronic (https://keybase.io/tiptronic) on keybase.
  • I have a public key whose fingerprint is F45F AB17 ED88 A11A 1653 1F3E 71F7 DC04 2091 BADE

To claim this, I am signing this object:

@tiptronic
tiptronic / xhr.js
Last active December 20, 2015 05:49 — forked from mythz/xhr.js
- enhance compatibility to jquery and add responseJSON if datatype is set to JSON - remove references to window, so it can run in a webworker
//Adds $.xhr and jQuery-like $.ajax methods to the prescribed namespace.
//Inspired from David Flanagans excellent cross-platform utils http://www.davidflanagan.com/javascript5/display.php?n=20-1&f=20/01.js
//Includes underscore.js _.each and _.extend methods
//modified to behave like jQuery's $.ajax(), not complete.
(function($) {
var xhrs = [
function () { return new XMLHttpRequest(); },
function () { return new ActiveXObject("Microsoft.XMLHTTP"); },
function () { return new ActiveXObject("MSXML2.XMLHTTP.3.0"); },
function () { return new ActiveXObject("MSXML2.XMLHTTP"); }