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
/** | |
░█▀█░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░▀█▀░█░█░█▀▄░█▀▀░░░█░░░█▀█░█▀▄░█▀█░█▀▄░█▀█░▀█▀░█▀█░█▀▄░█░█ | |
░█░█░█▀▀░█▀█░█▀▄░░░█▀▀░█░█░░█░░█░█░█▀▄░█▀▀░░░█░░░█▀█░█▀▄░█░█░█▀▄░█▀█░░█░░█░█░█▀▄░░█░ | |
░▀░▀░▀▀▀░▀░▀░▀░▀░░░▀░░░▀▀▀░░▀░░▀▀▀░▀░▀░▀▀▀░░░▀▀▀░▀░▀░▀▀░░▀▀▀░▀░▀░▀░▀░░▀░░▀▀▀░▀░▀░░▀░ | |
*/ | |
// Sources flattened with hardhat v2.6.8 https://hardhat.org | |
// File @openzeppelin/contracts/utils/[email protected] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
ffmpeg -i out.mp4 -vf "pad=width=1350:height=1350:x=0:y=225:color=white" out-square.mp4 |
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
#!/bin/zsh | |
for i in *.jpg; do | |
x=$(exiftool -T -createdate $i) | |
y="$(sed 's/:/ /g' <<< $x)" | |
#ffmpeg -i $i -vf "drawtext=fontfile=/Users/julian/Dropbox (OMATA)/Brand-PR-Marketing/Yearbook 2016/Drafts/OMATA_ yearbook_BI_v09_cover_perfect Folder (1)/Document fonts/NB Architekt Neue.otf:text=$x" mod-$i.jpg | |
ffmpeg -i $i -vf "drawtext=fontfile=/Users/julian/Dropbox (OMATA)/Brand-PR-Marketing/Yearbook 2016/Drafts/OMATA_ yearbook_BI_v09_cover_perfect Folder (1)/Document fonts/NB Architekt Neue.otf:text=$y:fontsize=90:x=20:y=800" mod-$i | |
done | |
ffmpeg -framerate 11 -pattern_type glob -i 'mod*' -c:v libx264 -pix_fmt yuv429p out.mp4 |
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
<div class="filter"> | |
{% if section.settings.coll_show_tags %} | |
{% if collection.url.size == 0 %} | |
{% assign collection_url = '/collections/all' %} | |
{% else %} | |
{% assign collection_url = collection.url %} | |
{% endif %} | |
{% assign show_tag_filter = false %} | |
{% capture tag_filter_html %} |
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 ConvertGarminEpoch() { | |
var inputtext = document.getElementById("ginput").value; | |
inputtext = inputtext.replace(/\s+/g, ''); | |
if (inputtext.charAt(inputtext.length - 1) == "L") { | |
inputtext = inputtext.slice(0, -1); | |
} | |
var outputtext = "<br>"; | |
inputtext = ( ( inputtext * 1 ) + 631065600 ) * 1000; |
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
<span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span> | |
<h1 itemprop="name">{{ product.title }}</h1> |
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
import Foundation | |
final class Shell | |
{ | |
func outputOf(commandName: String, arguments: [String] = []) -> String? { | |
return bash(commandName: commandName, arguments:arguments) | |
} | |
// MARK: private | |
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
UIFont.familyNames.forEach({ familyName in | |
let fontNames = UIFont.fontNames(forFamilyName: familyName) | |
print(familyName, fontNames) | |
}) |
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
let arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] | |
extension Array { | |
func chunks(_ chunkSize: Int) -> [[Element]] { | |
return stride(from: 0, to: self.count, by: chunkSize).map { | |
Array(self[$0..<Swift.min($0 + chunkSize, self.count)]) | |
} | |
} | |
} |