Skip to content

Instantly share code, notes, and snippets.

View rizwanzaheer's full-sized avatar
๐ŸŽฏ
Focusing

Rizwan Zaheer rizwanzaheer

๐ŸŽฏ
Focusing
View GitHub Profile
@Armanoide
Armanoide / Fix_react-native-material-textfield_issue_Animated.Text.propTypes.style.md
Last active September 8, 2022 09:18
fix react-native-material-textfield module with issue undefined is not an object Animated.Text.propTypes.style

Installation:

  1. Download patch.zip
  2. set it at the root of the project
  3. unzip the patch.zip
  4. add this line in package.json
  5. yarn install
"scripts": { 
@HamzaBinSarfraz
HamzaBinSarfraz / changepass
Created August 22, 2019 10:29
change sql password on ubuntu
Ubuntu 16.04 +
Stop MySQL
sudo service mysql stop
Make MySQL service directory.
@bradtraversy
bradtraversy / docker-help.md
Last active November 23, 2025 10:14
Docker Commands, Help & Tips

Docker Commands, Help & Tips

Show commands & management commands

$ docker

Docker version info

@dohomi
dohomi / app.vue
Last active August 21, 2021 19:55
Small file input element based on vuetify
<template>
<file-input v-model="filename" @formData="formData">
<v-btn @click.native="uploadFiles">
</template>
<script>
import fileInput from './file-input.vue'
export default{
components:{fileInput}
@FranklinYu
FranklinYu / README.markdown
Last active December 4, 2025 04:58
links for old versions of Docker for Mac (inspired by docker/for-mac#1120)

links for old versions of Docker for Mac

Deprecated

Docker provides download links in release note. They promised that

(we) will also include download links in release notes for future releases.

Note:

@fgilio
fgilio / axios-catch-error.js
Last active December 3, 2025 15:46
Catch request errors with Axios
/*
* Handling Errors using async/await
* Has to be used inside an async function
*/
try {
const response = await axios.get('https://your.site/api/v1/bla/ble/bli');
// Success ๐ŸŽ‰
console.log(response);
} catch (error) {
// Error ๐Ÿ˜จ
@tomysmile
tomysmile / mac-setup-redis.md
Last active July 10, 2025 21:05
Brew install Redis on Mac

type below:

brew update
brew install redis

To have launchd start redis now and restart at login:

brew services start redis
@ezekg
ezekg / profile.md
Last active August 26, 2025 09:37
iTerm key bindings

Open the iTerm preferences โŒ˜+, and navigate to the Profiles tab (the Keys tab can be used, but adding keybinding to your profile allows you to save your profile and sync it to multiple computers) and keys sub-tab and enter the following:

Delete all characters left of the cursor

โŒ˜+โ†Delete Send Hex Codes:

  • 0x18 0x7f โ€“ Less compatible, doesn't work in node and won't work in zsh by default, see below to fix zsh (bash/irb/pry should be fine), performs desired functionality when it does work.
  • 0x15 โ€“ More compatible, but typical functionality is to delete the entire line rather than just the characters to the left of the cursor.

Delete all characters right of the cursor

โŒ˜+fn+โ†Delete or โŒ˜+Deleteโ†’ Send Hex Codes:

  • 0x0b
@aclave1
aclave1 / LinkedList.js
Created February 4, 2014 05:39
Simple Javascript Linked List
var LinkedList = function() {
var head, tail;
var Node = function(dat) {
var _node = this,
_next = null,
_previous = null,
_data = dat;
@rxaviers
rxaviers / gist:7360908
Last active December 9, 2025 05:14
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: ๐Ÿ˜„ :smile: ๐Ÿ˜† :laughing:
๐Ÿ˜Š :blush: ๐Ÿ˜ƒ :smiley: โ˜บ๏ธ :relaxed:
๐Ÿ˜ :smirk: ๐Ÿ˜ :heart_eyes: ๐Ÿ˜˜ :kissing_heart:
๐Ÿ˜š :kissing_closed_eyes: ๐Ÿ˜ณ :flushed: ๐Ÿ˜Œ :relieved:
๐Ÿ˜† :satisfied: ๐Ÿ˜ :grin: ๐Ÿ˜‰ :wink:
๐Ÿ˜œ :stuck_out_tongue_winking_eye: ๐Ÿ˜ :stuck_out_tongue_closed_eyes: ๐Ÿ˜€ :grinning:
๐Ÿ˜— :kissing: ๐Ÿ˜™ :kissing_smiling_eyes: ๐Ÿ˜› :stuck_out_tongue: