Movatterモバイル変換


[0]ホーム

URL:


Skip to content
Search Gists
Sign in Sign up

Instantly share code, notes, and snippets.

View muneebbug's full-sized avatar

Muneeb Ur Rehman muneebbug

View GitHub Profile
@muneebbug
muneebbug /CompleteDiscordQuest.md
CreatedSeptember 18, 2024 06:21— forked fromaamiaa/CompleteDiscordQuest.md
Complete Recent Discord Quest

Note

This no longer works in browser!

This no longer works if you're alone in vc! Somebody else has to join you!

Warning

There are now two quest types ("stream" and "play")! Pay attention to the instructions!

@muneebbug
muneebbug /submit.md
CreatedApril 29, 2023 15:32— forked fromtanaikech/submit.md
Upload Files to Google Drive using Javascript

News

At October 11, 2019, I published a Javascript library to to run the resumable upload for Google Drive. When this is used, the large file can be uploaded. You can also use this js library.

Description

This is a sample script for uploading files to Google Drive using Javascript. The files are uploaded byDrive API v3.gapi.client.drive.files.create() can create an empty file on Google Drive. But it cannot directly upload files including contents. I think that this might not be able to upload files and metadata with the multipart/related, although this might be resolved by the future update. So now, as one of workarounds, I use using XMLHttpRequest.

  • This sample usesgapi.
  • Before you use this, please enable Drive API at API console and carr
SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/
@muneebbug
muneebbug /shopify-money.js
CreatedJuly 21, 2021 18:44— forked fromstewartknapman/shopify-money.js
The Shopify.formatMoney method extracted from option_selection.js for stand-alone purposes.
varShopify=Shopify||{};
// ---------------------------------------------------------------------------
// Money format handler
// ---------------------------------------------------------------------------
Shopify.money_format="${{amount}}";
Shopify.formatMoney=function(cents,format){
if(typeofcents=='string'){cents=cents.replace('.','');}
varvalue='';
varplaceholderRegex=/\{\{\s*(\w+)\s*\}\}/;
varformatString=(format||this.money_format);
@muneebbug
muneebbug /decryptchromecookies.py
CreatedMay 23, 2021 11:37— forked fromDakuTree/decryptchromecookies.py
Decrypt Chrome Cookies File (Python 3) - Windows
#Based off https://gist.github.com/DakuTree/98c8362fb424351b803e & pieces of https://gist.github.com/jordan-wright/5770442
fromosimportgetenv
fromshutilimportcopyfile
importsqlite3
importwin32crypt#https://sourceforge.net/projects/pywin32/
# Copy Cookies to current folder
copyfile(getenv("APPDATA")+"/../Local/Google/Chrome/User Data/Default/Cookies",'./Cookies')
# Connect to the Database
@muneebbug
muneebbug /decryptchromecookies.py
CreatedMay 23, 2021 11:37
Decrypt Chrome Cookies File (Python 3) - Windows
# Based on:
# https://gist.github.com/DakuTree/98c8362fb424351b803e
# https://gist.github.com/jordan-wright/5770442
# https://gist.github.com/DakuTree/428e5b737306937628f2944fbfdc4ffc
# https://stackoverflow.com/questions/60416350/chrome-80-how-to-decode-cookies
# https://stackoverflow.com/questions/43987779/python-module-crypto-cipher-aes-has-no-attribute-mode-ccm-even-though-pycry
importos
importjson
importbase64
@muneebbug
muneebbug /ajax-search-form.liquid
CreatedJanuary 31, 2021 10:45— forked fromatikju/ajax-search-form.liquid
Shopify Ajax Search
{% comment %}
This file can be added as a snippet and add it anywhere you want to display
{% endcomment %}
<divid="pageheader">
<divclass="util-area">
<divclass="search-box">
<formclass="search-form"action="/search"method="get"_lpchecked="1">
<iclass="icon-mag"></i>
<inputtype="text"name="q"placeholder="Search"autocomplete="off">
<inputtype="submit"value="">

[8]ページ先頭

©2009-2025 Movatter.jp