- make
.gitignore
file. - add
node_modules/
line to.gitignore
file - run
git rm -r --cached . && git add . && git commit -m "remove gitignore files" && git push
This file contains hidden or 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
class MAcrossover(bt.Strategy): | |
#Moving Average Parameters | |
params = (('pfast',20),('pslow',50)) | |
def log(self,txt,dt=None): | |
dt = dt or self.datas[0].datetime.date(0) | |
print('%s, %s' % (dt.isoformat(),txt)) | |
def __init__(self): | |
self.dataclose = self.datas[0].close | |
# Order variable | |
self.order = None |
This file contains hidden or 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
// ==UserScript== | |
// @name TradingView SQN Calculator | |
// @namespace https://ignizbot.com/ | |
// @version 0.6 | |
// @description try to take over the world! | |
// @author Ignasius Wahyudi | |
// @match https://www.tradingview.com/chart/*/ | |
// @require https://unpkg.com/[email protected]/dist/math.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/date-fns/1.30.1/date_fns.min.js | |
// @require https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.2/sweetalert.min.js |
This file contains hidden or 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
# Disable the newline at the start of the prompt | |
add_newline = false | |
# Wait 10 milliseconds for starship to check files under the current directory. | |
scan_timeout = 10 | |
[battery] | |
full_symbol = "🔋" | |
charging_symbol = "⚡️" | |
discharging_symbol = "💀" |
This file contains hidden or 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
import { Dimensions, Platform, StatusBar } from 'react-native'; | |
const X_WIDTH = 375; | |
const X_HEIGHT = 812; | |
const XSMAX_WIDTH = 414; | |
const XSMAX_HEIGHT = 896; | |
const { height: W_HEIGHT, width: W_WIDTH } = Dimensions.get('window'); |
To setup push to multiple remote with single git push
, you need to do this:
- Clone the repo like usual
- Setup multi remote URL like this
git remote set-url --add --push origin [email protected]:[username]/[repository]
git remote set-url --add --push origin [email protected]:[username]/[repository]
This file contains hidden or 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
server { | |
server_name ace3; | |
# Set the port to listen on and the server name | |
listen 80 default_server; | |
# Set the document root of the project | |
root /var/www/html/public; | |
# Set the directory index files |
This file contains hidden or 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
FROM php:7.4-fpm | |
RUN pecl install xdebug \ | |
&& docker-php-ext-enable xdebug |
This file contains hidden or 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
error_reporting=E_ALL |
OlderNewer