Skip to content

Instantly share code, notes, and snippets.

View arschmitz's full-sized avatar

Alexander Schmitz arschmitz

View GitHub Profile
@arschmitz
arschmitz / uyghur-xinjiang-lamb-skewers.md
Created May 15, 2022 15:57
Uyghur Xinjiang Lamb Skewers (新疆烤串, chuar)

Uyghur Xinjiang Lamb Skewers (新疆烤串, chuar)

This recipe yields about 12 skewers, but the number changes depending on how big a skewer you make.

If you're hosting a party, prepare 1lbs (450 g) meat for 4 people serving as a main dish with other sides and appetizers, or 1lbs (450 g) meat for 6 people serving as an appetizer. For meat lovers, prepare up to 1/2lbs (220g) meat per person if the lamb skewer is the theme of the party (it is a thing in China).

INGREDIENTS

  • 1 pound (450 grams) lamb meat (lean fat ratio 7:3) (*See footnote 1)
  • 1/2 onion , sliced
  • 2 tablespoons whole cumin seeds (Optional)

What is a PWA

According to google a service worker is...

Progressive Web Apps are user experiences that have the reach of the web, and are:

  • Reliable - Load instantly and never show the downasaur, even in uncertain network conditions.
  • Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling.
  • Engaging - Feel like a natural app on the device, with an immersive user experience. This new level of quality allows Progressive Web Apps to earn a place on the user's home screen.
@arschmitz
arschmitz / animationComplete.js
Created January 13, 2014 20:37
animation complete
//animation complete callback
$.fn.animationComplete = function( callback, type, fallbackTime ) {
var timer,
events = ( !type || type === "animation" ) ?
"webkitAnimationEnd animationend" :
"webkitTransitionEnd oTransitionEnd otransitionend transitionend msTransitionEnd";
if ( $.support.cssTransitions ) {
$( this ).one( events, function(){
if( fallbackTime ) {
clearTimeout( timer );
version: '3.3'
services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: somewordpress
facebook - 2224
twitter - 536
instagram - 306
lititz17543 - 163
pfestore - 105
google - 69
beermenus - 63
grubhub - 50
pinterest - 47
youtube - 41
{{#leaflet-map class="background--map" zoom="8" lat=userLocation.latitude lng=userLocation.longititude}}
{{tile-layer url="http://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}.png"}}
{{owm-layer "clouds" showLegend=true opacity=1}}
{{/leaflet-map}}
/*!
* Cropper v2.2.4
* https://github.com/fengyuanchen/cropper
*
* Copyright (c) 2014-2016 Fengyuan Chen and contributors
* Released under the MIT license
*
* Date: 2016-01-01T08:20:03.583Z
*/
.cropper-container {
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
//>>description: A handler for css transition & animation end events to ensure callback is executed
//>>label: Animation Complete
//>>group: Core
define( [
"jquery"
], function( jQuery ) {
//>>excludeEnd("jqmBuildExclude");
(function( $, undefined ) {
var props = {
@arschmitz
arschmitz / gist:8045504
Created December 19, 2013 20:15
Mobile changelog
<script>{ "title": "jQuery Mobile 1.4.0 Changelog" }</script>

Accessibility

  • Improvements to and consistency in accessible hiding content. (bf9c2d3)
  • Stoped moving hidden elements off screen when we set height, width and clip. (963151c)

Autoinit