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
1. Login & Select your old Account -> Profile | |
2. Go to My List (old profile) | |
3. Run this code in your Browser Developer console to Export and save My List | |
var tmpList = (function() { | |
var list = [] | |
document.querySelectorAll('.title-card a[aria-label]').forEach( | |
function(item) { | |
try { | |
list.push({ |
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
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)" | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
bundle install --path vendor/bundle | |
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
# open https://gramsave.com/ | |
# input the instagram username | |
# tap load more on the page until there is none | |
// not working yet wkwk | |
while ( document.querySelector("#load_more_img") != null) { | |
setTimeout(() => { | |
document.querySelector("#load_more_img").click() | |
}), 3000 | |
} |
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
`yarn config set ignore-engines 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
-- Write only the SQL statement that solves the problem and nothing else. | |
SELECT name FROM employees | |
WHERE id NOT IN (SELECT managerId FROM employees | |
WHERE managerId IS NOT 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
-- Write only the SQL statement that solves the problem and nothing else. | |
SELECT count(firstName) FROM students WHERE firstName = "John"; |
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
<?php | |
class Pipeline | |
{ | |
public static function make_pipeline(...$funcs) | |
{ | |
return function($arg) use ($funcs) | |
{ | |
$temporaryResult = $arg; | |
foreach ($funcs as $func) { | |
$temporaryResult = $func($temporaryResult); |
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
<?php | |
class Palindrome | |
{ | |
public static function isPalindrome($word) | |
{ | |
$splittedWord = str_split(strtolower($word)); | |
$reversedSWord = array_reverse($splittedWord); | |
$reversedWord = implode("", $reversedSWord); | |
return strtolower($word) == $reversedWord; | |
} |
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
<select class="owner-field-select tickera-input-field" name="owner_data_tc_ff_wheredidyouhearabouttiajakartaconference_tcfn_2227_post_meta[19431][0]"> | |
<option value="" selected=""></option> | |
<option value="I was a past attendee">I was a past attendee </option> | |
<option value="Tech in Asia emails">Tech in Asia emails </option> | |
<option value="Social media (Facebook/Instagram/LinkedIn/Twitter)">Social media (Facebook/Instagram/LinkedIn/Twitter) </option> | |
<option value="Tech in Asia website">Tech in Asia website </option> | |
<option value="Friends">Friends </option> | |
<option value="Web Search">Web Search </option> | |
</select> |
NewerOlder