- 2 cup white sugar
- 2 cup soy sauce
- 1 cup cider vinegar
- 4 clove garlic minced
- 2 tsp. ground ginger
- 1 tsp. black pepper
- 4 tbsp. cornstarch
#!/bin/sh | |
echo "Enter m3u8 link:"; | |
read link; | |
echo "Enter output filename:"; | |
read filename; | |
ffmpeg -i "$link" -bsf:a aac_adtstoasc -vcodec copy -c copy -crf 50 "$filename.mp4" |
namespace :cache_digests do | |
desc 'Resolves digest for file' | |
task :digest => :environment do | |
abort 'You must provide TEMPLATE for the task to run' unless ENV['TEMPLATE'].present? | |
template_name = CacheDigests.template_name | |
finder = CacheDigests.finder | |
puts "Finder Contents: #{finder.digest_cache.keys}" | |
tree = ActionView::Digestor.tree(template_name, finder, false) | |
puts "Locating Digest for '#{template_name}'" | |
digest = ActionView::Digestor.digest(name: template_name, finder: finder, dependencies: []) |
import { CLIEngine, LintReport, LintResult, LintMessage } from "eslint"; | |
import { relative } from "path"; | |
import * as fs from "fs"; | |
import * as YAML from "yamljs"; | |
import * as _ from "underscore"; | |
const newLint = new CLIEngine({ | |
allowInlineConfig: false, | |
} as any); |
class ParentComponent extends React.Component<any, any>{ | |
render(): JSX.Element { | |
return ( | |
<div> | |
<EveryRenderComponent id={1} doTheThing={this.doTheNumberThing} /> | |
<OnMountComponent id={2} doTheThing={this.doTheNumberThing} /> | |
<OnParentComponent id={3} doTheThing={this.doTheDataSetThing} /> | |
</div> | |
) |
module ActionView | |
class Digestor | |
class << self | |
def tree(name, finder, partial = false, seen = {}) | |
logical_name = name.gsub(%r|/_|, "/") | |
options = {} | |
options[:formats] = [finder.rendered_format] if finder.rendered_format | |
options[:formats].push(:html,:json) if finder.rendered_format == :js | |
if template = finder.disable_cache { finder.find_all(logical_name, [], partial, [], options).first } |
module ActionView | |
class Digestor | |
class << self | |
def tree(name, finder, partial = false, seen = {}) | |
logical_name = name.gsub(%r|/_|, "/") | |
options = {} | |
options[:formats] = [finder.rendered_format] if finder.rendered_format | |
options[:format].push(:html, :json) if finder.rendered_format == :js |
Ingredients | |
* Crust | |
* 1 1/4 cups graham cracker crumbs | |
* 1/4 cup white sugar | |
* 1 teaspoon ground cinnamon | |
* 1/3 cup butter, melted | |
* Sauce | |
* 20 oz packages pitted dark sweet cherries. | |
* 3 tbsp cornstarch | |
* 2 cup sugar. |
namespace Twilio { | |
Device = { | |
setup: function () { }, | |
ready: function () { }, | |
offline: function () { }, | |
incoming: function () { }, | |
connect: function (params): Twilio.Connection { return null }, | |
error: function () { } | |
} | |
} |
declare namespace parsley { | |
type RequirementValues = 'string' | 'integer' | 'number' | 'regexp' | 'boolean'; | |
/** | |
* A ValidatorReturn should be one of the following: | |
* | |
* - True - is valid. | |
* - False - is not valid. | |
* - Error string or any other value - is not valid. | |
* - JQueryPromise returning one of the above. |