This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if not AutoCarrotDB then | |
AutoCarrotDB = { enabled = true, ridingGloves = true, mithrilSpurs = true } | |
end | |
local f = CreateFrame("Frame") | |
f:RegisterEvent('PLAYER_LOGIN') | |
f:RegisterEvent('BAG_UPDATE') | |
f:SetScript("OnUpdate", function() | |
if(not AutoCarrotDB.enabled) then return end | |
if(IsMounted()) then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Butter | |
- Flour | |
- Chicken breasts (or a whole chicken) or green lentils (soaked) | |
- Chicken stock | |
- Carrots | |
- Leek | |
- Celery | |
- Potatoes | |
- Cream | |
- Parsly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Spring beans | |
- White cabbage | |
- Mango | |
- Unroasted cashews (or chicken) | |
- Stir fry noodles that don't need seperate boiling | |
- Fresh chili | |
- Red onion | |
- Fresh garlic | |
- Fresh ginger | |
- Soy sauce |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 800g dark chocolate | |
- 200g coconut oil | |
- 400g fresh ginger | |
- 5-10g cinnamon | |
- 2-4g dried chili flakes | |
- good pinch of nutmeg | |
- 10g of vanilla sugar (optional) | |
Melt half the dark chocolate in a double boiler. | |
Grate the ginger and combine it with the coconut oil, the cinnamon, dried chili, nutmeg and optional sugar and heat it up. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Kick(context) { | |
this.context = context; | |
}; | |
Kick.prototype.setup = function() { | |
this.osc = this.context.createOscillator(); | |
this.gain = this.context.createGain(); | |
this.osc.connect(this.gain); | |
this.gain.connect(this.context.destination) | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Bar extends DsFieldBase { | |
public function __construct($foo) { | |
// do some other stuff... | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* DS field clone base. | |
*/ | |
namespace Drupal\mymodule; | |
use Drupal\ds\Plugin\DsField\DsFieldBase; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var map; | |
var printHandler = function(e) { | |
// Grab center before resize. | |
var center = map.getCenter(); | |
// Tell the map it needs to resize. | |
window.google.maps.event.trigger(map, 'resize'); | |
// Set the center back to what it was pre-resize. | |
map.setCenter(center); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* DS field clone. | |
*/ | |
namespace Drupal\mymodule\Plugin\DsField; | |
use Drupal\ds\Plugin\DsField\DsFieldBase; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function wundertheme_page_attachments_alter(&$attachments) { | |
// Prep various shortcut icons. | |
$icons = [ | |
'android' => [ | |
'properties' => [ | |
'rel' => 'icon', | |
'type' => 'image/png', | |
], |
NewerOlder