This file contains 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
<iframe src="https://iazzu.com/g/YOUR-PROFILE-NAME?embed=true" width="100%" height="100vh"></iframe> |
This file contains 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
watchman watch-del-all 1>/dev/null | |
rm -rf node_modules 1>/dev/null | |
rm -rf yarn.lock 1>/dev/null | |
rm -rf package-lock.json 1>/dev/null | |
rm -rf $TMPDIR/react-packager-* 1>/dev/null | |
rm -rf ios/build 1>/dev/null | |
npm cache clear --force -s 1>/dev/null | |
npm cache verify 1>/dev/null |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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 callFunctionCURL ($url, $params = [], $method = "GET") { // url WITHOUT trailing slash please | |
if (mb_strtolower ($method) == "get") { | |
if (count($params) > 0) | |
$url = $url."?".http_build_query ($params); | |
$ch = curl_init ($url); | |
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true); |
This file contains 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
// Prints all installed/available fonts for iOS devices | |
for (NSString *familyName in [UIFont familyNames]){ | |
NSLog(@"Family name: %@", familyName); | |
for (NSString *fontName in [UIFont fontNamesForFamilyName:familyName]) { | |
NSLog(@"--Font name: %@", fontName); // <-- use fontName string for fontFamily style value | |
} | |
} |