

# Configuration for Alacritty, the GPU enhanced terminal emulator. | |
# Any items in the `env` entry below will be added as | |
# environment variables. Some entries may override variables | |
# set by alacritty itself. | |
#env: | |
# TERM variable | |
# | |
# This value is used to set the `$TERM` environment variable for | |
# each instance of Alacritty. If it is not present, alacritty will |
/* | |
** | |
** Example of Interprocess communication in Node.js through a UNIX domain socket | |
** | |
** Usage: | |
** server> MODE=server node ipc.example.js | |
** client> MODE=client node ipc.example.js | |
** | |
*/ |
import React, { useEffect, useRef } from "react"; | |
import { | |
StyleSheet, | |
View, | |
Animated, | |
Keyboard, | |
TextInput, | |
} from "react-native"; | |
export default function App() { |
---------------------------xcode conf---------------------- | |
1- install xcode from AppStore | |
2 - search xcode preferences | |
3 - it will open xcode dialog then move to components tab(to install your ios emulator, select one and download it) | |
4- then move account tab, and select apple id( context menu option) then put your apple id. then close the dialog xcode | |
5- open xcode again and create a new project (single view app) then name it, whatever you want, click next | |
6- after the project was created, then the project, you need to click root file inside the project and select "sign in and capabilities | |
and then select your user(apple id) | |
7- change the bundle identifier, if is necessary | |
8- then select your emulator installed and build the project, finally , you will see your hello world project. |
<html> | |
<head> | |
<title>Debounce</title> | |
</head> | |
<body> | |
<button style="width: 100px;height: 20px" id="btn">Click</button> | |
<script> | |
document.getElementById('btn').addEventListener( |
# run in terminal window within the GOROOT {/usr/local/go} path | |
# example | |
# bash setup.sh 1.19.1 darwin-amd64 profile | |
set -e | |
function setup() { | |
echo "" | |
echo "Using the following configurations" |
version: 2.1 | |
workflows: | |
main: | |
jobs: | |
- unit-tests: | |
version: 6 | |
- unit-tests: | |
version: 8 | |
- unit-tests: |
#!/bin/bash | |
# exit when any command fails | |
set -e | |
COMMAND=$1 | |
function clean() { | |
printf "🧹 Cleaning.. \n" | |
rm -rf ~/Library/Caches/CocoaPods Pods ~/Library/Developer/Xcode/DerivedData |
type below:
brew update
brew install redis
To have launchd start redis now and restart at login:
brew services start redis