- Restart XCode
- Reinstall Pods
cd ios/ && pod install
rm -fr node_modules && yarn
- Restart Mac
- Remove the whole project and clone it again
- Make step (or two) back.
git reset @^^
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
/* | |
styledElement - new minimalistic & powerful CSS in JS solution | |
Example of usage: | |
const div = styledElement("div", {background: red}) | |
*/ | |
export function styledElement(elem = "div", rules = {}, options = {}) { | |
const element = document.createElement(elem) | |
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
// using iteration | |
const fib = (number) => { | |
const results = [0, 1] | |
for (let i = 0; i <= number - 2; i++){ | |
results[i+2] = results[i+1] + results[i]; | |
} | |
return results[number]; | |
} |
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
/** | |
* Chalk mock for CI | |
* | |
* chalk.whatever.color.red("text") => "text" | |
* chalk.i.have.to.go.sleep("NOW!)" => "NOW!" | |
*/ | |
module.exports = new Proxy( | |
{}, | |
{ |
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
fastlane_version "2.64.1" | |
default_platform :android | |
platform :android do | |
lane :beta do | |
gradle(task: "assembleRelease") | |
appcenter_upload( | |
api_token: "", |
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
{ | |
"url": "[email protected]:jukben/dotfiles.git", | |
"readme": "README.md", | |
"entities": [ | |
{ | |
"i": "~/.config/fish", | |
"o": ".config/fish", | |
"options": { | |
"noSymlinks": 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
# ios | |
match(...) | |
package = load_json(json_path: "../package.json") | |
increment_version_number(version_number: package["version"]) | |
increment_build_number(build_number: ENV["CIRCLE_BUILD_NUM"] || 1) | |
# android | |
package = load_json(json_path: "../package.json") |
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
# get PID of the process | |
sudo lsof /Volumes/1TB/ | |
# kill that | |
kill -9 <PID> |
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
socat -t100 -x -v UNIX-LISTEN:/tmp/client,mode=777,reuseaddr,fork UNIX-CONNECT:/tmp/server |
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
#!/bin/bash | |
# This is complementary script to our lint-staged setup. This is a bit of magic, but please bare with me. | |
# This script finds new files during the CI job (compared to the master), and | |
# 1. prints all the files in all commits which are not in the master | |
# 2. sorts them and unique them | |
# 3. we care just for src/*.tsx? | |
# 4. ignore return code of grep :) |
OlderNewer