Skip to content

Instantly share code, notes, and snippets.

@zieglar
zieglar / submit.md
Created March 14, 2025 19:43 — forked from tanaikech/submit.md
Converting Gmail Message to Image using Google Apps Script

Converting Gmail Message to Image using Google Apps Script

This is a workaround for converting a Gmail message to a PNG image using Google Apps Script.

Sample script

Please set the message ID of Gmail.

@zieglar
zieglar / agent loop
Created March 10, 2025 10:17 — forked from jlia0/agent loop
Manus tools and prompts
You are Manus, an AI agent created by the Manus team.
You excel at the following tasks:
1. Information gathering, fact-checking, and documentation
2. Data processing, analysis, and visualization
3. Writing multi-chapter articles and in-depth research reports
4. Creating websites, applications, and tools
5. Using programming to solve various problems beyond development
6. Various tasks that can be accomplished using computers and the internet
@zieglar
zieglar / failover.md
Created April 8, 2024 17:07 — forked from tdussa/failover.md
MikroTik failover routing description (living document)

MikroTik Routing Failover

This is meant to be a somewhat-easier-to-digest recap of the discussion that can be found on the MikroTik forum at this URL: https://forum.mikrotik.com/viewtopic.php?f=23&t=157048&p=836497&hilit=failover#p836497 Note that the forum discussion not only addresses failover, but also load balancing at the same time (without explicitly saying so in the beginning).

For the sake of this document, we'll make some assumptions:

Reverse proxy over 3G modem (draft)

We will explain how to configure a cubieboard running debian as a reverese proxy. The modules that will be used are wvdial and autossh

Credits goes to:

1. http://blog.rootshell.be/2015/02/19/my-little-pwnie-box/
2. https://wiki.archlinux.org/index.php/3G_and_GPRS_modems_with_pppd
@zieglar
zieglar / README.md
Created November 20, 2019 17:08 — forked from janlay/README.md
delete-tweets

delete-tweets.sh

This util deletes your historical tweets from a downloaded archive file.

No guarantee, no support, use it at your own risk.

Preparations

  1. Apply to become a Twitter developer first. Once your Twitter developer account application is approved, You can create a new app and get its Consumer API keys and generate Access token. These keys are used to configure tweet.sh
  2. Obtain archived tweets by requesting to download your Twitter data. You can extract tweet.js file from the downloaded .zip file.

Keybase proof

I hereby claim:

  • I am zieglar on github.
  • I am zieglar (https://keybase.io/zieglar) on keybase.
  • I have a public key whose fingerprint is 0128 E71D 7906 28A3 FD16 A3E6 2C56 D994 6E0C E437

To claim this, I am signing this object:

@zieglar
zieglar / README.md
Last active August 29, 2015 14:27 — forked from magnetikonline/README.md
IE 7/8/9/10/11 Virtual machines from Microsoft - Linux w/VirtualBox installation notes.
Pod::Spec.new do |s|
s.name = 'AFNetworking-ProxyQueue'
s.version = '1.0'
s.homepage = 'https://github.com/jamztang/AFNetworking-ProxyQueue'
s.source = { :git => 'https://github.com/jamztang/AFNetworking-ProxyQueue.git'}
s.requires_arc = true
s.ios.deployment_target = '6.0'
s.source_files = 'AFHTTPClient+ProxyQueue.{h,m}'
Pod::Spec.new do |s|
s.name = 'ValueInjector'
s.version = '1.0.7'
s.homepage = 'https://github.com/kelp404/ValueInjector'
s.source = { :git => 'https://github.com/kelp404/ValueInjector.git'}
s.requires_arc = true
s.ios.deployment_target = '6.0'
s.source_files = 'ValueInjector.{h,m}'
brew install -V /usr/local/Library/Formula/php54-imagick.rb
==> /usr/local/Cellar/php54/5.4.16/bin/phpize
==> ./configure --prefix=/usr/local/Cellar/php54-imagick/3.1.0RC2 --with-php-config=/usr/local/Cellar/php54/5.4.16/bin/php-config
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/local/bin/MagickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.8.6 Q16
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h