Skip to content

Instantly share code, notes, and snippets.

View mariuskroh's full-sized avatar
👀
looky looky

Marius Kroh mariuskroh

👀
looky looky
  • Berlin
View GitHub Profile
@mariuskroh
mariuskroh / minimal-2021.alfredappearance
Last active January 18, 2021 16:50
My Alfred 4 theme.
{
"alfredtheme" : {
"result" : {
"textSpacing" : 5,
"subtext" : {
"size" : 16,
"colorSelected" : "#FEFFFEC4",
"font" : "Manrope Medium",
"color" : "#C6C6C665"
},
@mariuskroh
mariuskroh / gist:812f05549760c5664709b3277a57a74c
Created March 4, 2020 14:40
Npm script for pushing to github with custom commit message
"scripts": {
"git": "git add . && git commit -m",
"postgit": "git push --all"
},
//npm run git -- "Message of the commit"
//or
//npm run git -- Message
@mariuskroh
mariuskroh / cities.json
Created December 5, 2019 10:43 — forked from Miserlou/cities.json
1000 Largest US Cities By Population With Geographic Coordinates, in JSON
[
{
"city": "New York",
"growth_from_2000_to_2013": "4.8%",
"latitude": 40.7127837,
"longitude": -74.0059413,
"population": "8405837",
"rank": "1",
"state": "New York"
},
@mariuskroh
mariuskroh / registermultipleposttypes
Last active February 11, 2019 11:26
register multiple post types
function my_create_post_types() {
register_post_type( 'my_post_type', $args);
register_post_type( 'my_other_post_type', $args);
}
add_action( 'init', 'my_create_post_types' );