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
# An armstrong number is a number that is the sum of its own digits raised to the power of number of digits that make up the original number. | |
import sys | |
def is_armstrong(n): | |
n = int(n) | |
sum_result = 0 | |
# 1. Split the number into it's digits and store them in a list. | |
digits = list(str(n)) |
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
#include <a_samp> | |
#include <streamer> | |
#include <sscanf2> | |
#include <Pawn.CMD> | |
main() {} | |
new g_Objects[2]; | |
public OnGameModeInit() { |
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
@echo off | |
title Flask Directory Creator | |
set /p name="Enter project name: " | |
mkdir %name% | |
echo Info: Created directory %name%. | |
cd %name% | |
mkdir templates | |
mkdir static | |
echo . > app.py |
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
{"lastUpload":"2019-03-01T13:07:57.243Z","extensionVersion":"v3.2.5"} |
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
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', | |
// default font size in pixels for all tabs | |
fontSize: 12, | |
// font family with optional fallbacks | |
fontFamily: "Fira Code", | |
// default font weight: 'normal' or 'bold' |
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 | |
refresh=$1 | |
verificacoesFeitas=0 | |
trap tratarInterrupcao SIGINT; # Executar a função tratarInterrupcao quando CTRL + C for pressionado. | |
ARRAY_MEM=(0 0 0 0 0 0 0 0 0 0) | |
ARRAY_CPU=(0 0 0 0 0 0 0 0 0 0) | |
ARRAY_DSK=(0 0 0 0 0 0 0 0 0 0) |
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
### Keybase proof | |
I hereby claim: | |
* I am carlos-menezes on github. | |
* I am carlosmenezes (https://keybase.io/carlosmenezes) on keybase. | |
* I have a public key ASDn1Xu5181v5Skzc_S1oV2lqIATb99gNCa4LPHNlSkUVgo | |
To claim this, I am signing this object: |
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
import path from 'path'; | |
import fs from 'fs'; | |
import { BUILD_DIR } from './pkg.js'; | |
const env = process.env.NODE_ENV ?? 'development'; | |
const serverConfig = path.resolve('src', `server-${env}.cfg`); | |
const serverConfigDestination = path.resolve(BUILD_DIR); | |
fs.copyFileSync(serverConfig, path.join(serverConfigDestination, `server.cfg`)); |
I hereby claim:
- I am carlos-menezes on github.
- I am cmenezes (https://keybase.io/cmenezes) on keybase.
- I have a public key whose fingerprint is C326 045E AC23 8A8A 6794 9144 E02D 5516 1AB2 3FEE
To claim this, I am signing this object:
OlderNewer