Skip to content

Instantly share code, notes, and snippets.

View Simek's full-sized avatar
👨‍🔬
Living on the bleeding edge

Bartosz Kaszubowski Simek

👨‍🔬
Living on the bleeding edge
View GitHub Profile
@Simek
Simek / issues27317.js
Created November 25, 2019 22:23
AsyncStorage Isssue
const getData = async (key) => {
try {
const value = await AsyncStorage.getItem(key);
return value;
} catch (e) {
return undefined;
}
};
const storeData = async (key, value) => {
There is a total of 127 checks on <Section: Default>.
WARNING:root:Skipping 'barlow-1.300-fontbakery.log' as it does not seem to be valid TrueType font file.
Start ... running 5480 individual check executions.
>> com.google.fonts/check/009
Fonts have consistent PANOSE proportion?
* FAIL: PANOSE proportion is not the same accross this family. In order to fix this, please make sure that the panose.bProportion value is the same in the OS/2 table of all of this family font files.
Result: FAIL
>> com.google.fonts/check/028
@Simek
Simek / sudoTouchId.md
Last active December 21, 2017 11:05
Enable TouchID for sudo in Terminal
  • Open /etc/pam.d/sudo with write permission: sudo nano /etc/pam.d/sudo

  • Add line at the beginning of file: auth sufficient pam_tid.so

  • Save and you're done!

@Simek
Simek / bitbucket-pipelines.yml
Created August 10, 2017 21:28
bitbucket-pipelines.yml - node + git-ftp
image: node:8.3.0
pipelines:
default:
- step:
script:
- curl https://raw.githubusercontent.com/git-ftp/git-ftp/master/git-ftp > git-ftp
- chmod 755 git-ftp
- export PATH=".:$PATH"
- git config git-ftp.syncroot ./distDev