Skip to content

Instantly share code, notes, and snippets.

View M1n007's full-sized avatar
👽
Working from home

Aminudin M1n007

👽
Working from home
View GitHub Profile
@M1n007
M1n007 / sample.js
Last active December 10, 2022 07:52
const { CurlGenerator } = require('curl-generator');
const { exec } = require('child_process');
const createCurlCommand = (url, method, headers, body) => {
const params = {
url,
method,
headers
}
if (body) params.body = body
const {IgApiClient}= require('instagram-private-api');
const {withFbns} = require('instagram_mqtt');
const fs = require('fs');
const IG_USERNAME = '';
const IG_PASSWORD = '';
(async () => {
const ig = withFbns(new IgApiClient());
@M1n007
M1n007 / gitlab-ce-docker-compose.yml
Created September 17, 2021 00:29
Gitlab CE Docker Compose
version: '3'
services:
gitlab:
image: 'gitlab/gitlab-ce:latest'
restart: always
hostname: 'localhost'
links:
- postgresql:postgresql
- redis:redis
let firstText = 'test';
let secondText = '- aw'
const templateChoose = 'urlimage/pathimage'
const fontChoose = 'font url/font path'
const image = await Jimp.read(templateChoose);
const font = await Jimp.loadFont(fontChoose);
const w = image.bitmap.width;
const h = image.bitmap.height;
const textWidth = Jimp.measureText(font, firstText);
const {existsSync, writeFileSync, readFileSync} = require('fs');
const {IgApiClient}= require('instagram-private-api');
const {withFbns} = require('instagram_mqtt');
const IG_USERNAME = 'yourusername';
const IG_PASSWORD = 'yourpassword';
(async () => {
const ig = withFbns(new IgApiClient());
const helper = require('../../helpers/helper')
const authHelper = require('../../auth/jwt_helper')
const hash = require('../../helpers/hash')
const query = require('./queries')
const logger = require('../../helpers/logger')
const config = require('../../configs/globalConfigs')
const Instagram = require('node-insta-web-api');
const Insta = new Instagram();
const { v4: uuidv4 } = require('uuid');
const fs = require('fs');
const fetch = require('node-fetch');
var uuid = require('uuid');
const fs = require('fs');
const delay = require('delay')
const nama = () => new Promise((resolve, reject) => {
fetch("http://ninjaname.horseridersupply.com/indonesian_name.php", {
method: 'GET'
const etl = {
easy: '1',
to: '2',
learn: '3',
a:'s'
}
function run(etl){
const arrayKey = Object.keys(etl);
const objectArray = Object.entries(etl);
@M1n007
M1n007 / keybase.md
Last active September 10, 2019 15:58

Keybase proof

I hereby claim:

  • I am m1n007 on github.
  • I am amin4udin (https://keybase.io/amin4udin) on keybase.
  • I have a public key ASCOnITmsBOFKoflCjIA5839YAlD96ShPAW6-GHKiMotKgo

To claim this, I am signing this object:

"text":{"_type":"TextualDisplay","textSpans":[{"_type":"TextSpan","text":"Some payment methods aren't available to guest users. To pay with a disabled payment option, please sign in or create an eBay account."}]}}]}},{"_type":"PaymentMethodSelectableRenderSummary","primary":{"_type":"LoadableIconAndText","icon":{"_type":"LoadableIcon","name":"PAYPAL_CREDIT","URL":"https://ir.ebaystatic.com/pictures/aw/pics/checkout/payments/paypal/logo_pp_creditNew.jpg"}},"disabled":true,"meta":{"paymentMethodId":"PAYPAL_CREDIT","paymentDetailsComplete":false,"federationEnabled":false},"selected":false,"uxComponentHint":"RADIO_BUTTON","accessibilityText":"Open PayPal log in dialog to pay with PayPal Credit.","paymentMethodDetails":{"_type":"PaymentMethodDetails","description":[{"_type":"LoadableIconAndText","text":{"_type":"TextualDisplay","textSpans":[{"_type":"TextSpan","text":"PayPal Credit isn't eligible for this purchase, which may be due to one of the following reasons:"}]}},{"_type":"LoadableIconAndText","base":"DETAIL