Skip to content

Instantly share code, notes, and snippets.

@Reza-Afshar
Reza-Afshar / Scientific Computing with Python
Last active January 28, 2022 19:48
My Python Certificate No.1
https://ibb.co/B3jYxKF
Link Of My First Certificate From FreeCodeCamp
300 Hours Of Scientific Computing With Python
Also Check My Profile I Will Be Uploading My Little Codes There.
@ackinc
ackinc / vscode-launch.json
Created January 26, 2022 06:37
Base VSCode launch conf for projects created with @ack_inc/create-node-proj
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Run Current File",
@graphiert
graphiert / COPY THIS CODE.txt
Last active February 16, 2022 11:10
Telegram String Session Generator
sh -c "$(curl -fsSL https://bit.ly/3IBgWGP)"
@zzpzaf
zzpzaf / users.repo_constructor.ts
Last active January 26, 2022 08:29
NestJS environment configuration - UsersRepo implementation - Constructor
. . .
constructor(
private jwtService: JwtService,
private configService: ConfigService,
) {
this.myUsers = [this.user1, this.user2];
}
. . .
daily_sales = \
"""Edith Mcbride ;,;$1.21 ;,; white ;,;
09/15/17 ,Herbert Tran ;,; $7.29;,;
white&blue;,; 09/15/17 ,Paul Clarke ;,;$12.52
;,; white&blue ;,; 09/15/17 ,Lucille Caldwell
;,; $5.13 ;,; white ;,; 09/15/17,
Eduardo George ;,;$20.39;,; white&yellow
;,;09/15/17 , Danny Mclaughlin;,;$30.82;,;
purple ;,;09/15/17 ,Stacy Vargas;,; $1.85 ;,;
purple&yellow ;,;09/15/17, Shaun Brock;,;
@hy4kk1-y4gy0
hy4kk1-y4gy0 / genPass.py
Created January 26, 2022 05:47
Generate random password string
import random
print("""
/$$$$$$$ /$$
| $$__ $$ | $$
| $$ \ $$ /$$$$$$ /$$$$$$$ /$$$$$$$ /$$ /$$ /$$ /$$$$$$ /$$$$$$ /$$$$$$$
| $$$$$$$/ |____ $$ /$$_____/ /$$_____/| $$ | $$ | $$ /$$__ $$ /$$__ $$ /$$__ $$
| $$____/ /$$$$$$$| $$$$$$ | $$$$$$ | $$ | $$ | $$| $$ \ $$| $$ \__/| $$ | $$
| $$ /$$__ $$ \____ $$ \____ $$| $$ | $$ | $$| $$ | $$| $$ | $$ | $$
@jrichardsz
jrichardsz / google drive python - list.py
Last active November 29, 2024 09:14
google drive upload
tps://developers.google.com/drive/api/v3/quickstart/python
from __future__ import print_function
import pickle
import os.path
from googleapiclient.discovery import build
from google_auth_oauthlib.flow import InstalledAppFlow
from google.auth.transport.requests import Request
# https://developers.google.com/analytics/devguides/config/mgmt/v3/quickstart/service-py
from apiclient.discovery import build
@synsa
synsa / sshcmd.rb
Created January 26, 2022 05:28 — forked from gorsuch/sshcmd.rb
ruby remote ssh cmd example
require 'net/ssh'
server = 'mem.sysarcana.com'
user = 'root'
pass = 'password'
command = 'uptime'
Net::SSH.start(server, user, :password => pass) do |session|
stdout = ''
stderr = ''
@Jcouls29
Jcouls29 / InMemoryProductRepository_Tests.cs
Last active January 26, 2022 06:04
InMemoryProductRepository_Tests - Test #1
public class InMemoryProductRepository_Tests
{
private readonly IProductRepository _Service;
public InMemoryProductRepository_Tests()
{
_Service = new InMemoryProductRepository();
}
[Fact]
@MSFTserver
MSFTserver / VQGAN-Datasets.md
Created January 26, 2022 03:56
VQGAN image dataset downloads