Skip to content

Instantly share code, notes, and snippets.

View HongPong's full-sized avatar

Dan Feidt HongPong

View GitHub Profile
@HongPong
HongPong / drupal-7-modules-
Created June 16, 2014 22:13
Good list of Drupal 7 contrib modules
If you are building a Drupal 7 site this is a reasonable set of base modules for many purposes.
advanced_help
audiofield
backup_migrate
ctools
date
devel
draggableviews
ds
@HongPong
HongPong / fish update unknown command string
Last active May 23, 2016 17:19
A ton of errors thrown on CentOS 7 for updating fish with yum
# yum update
Loaded plugins: fastestmirror
base | 3.6 kB 00:00
epel/x86_64/metalink | 12 kB 00:00
epel | 4.3 kB 00:00
extras | 3.4 kB 00:00
shells_fish_release_2 | 1.2 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
(1/3): epel/x86_64/updateinfo | 556 kB 00:00
@HongPong
HongPong / code style notifications.txt
Created May 24, 2016 15:35
code style notifications for vinculum-v8
based on the code AFTER this patch is applied
https://github.com/aleixq/vinculum-d8/pull/1
phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,js,css,info,txt,md .
FILE: ...n/Sites/devdesktop/drupal811/modules/vinculum-d8/linkback.module
----------------------------------------------------------------------
FOUND 2 ERRORS AND 4 WARNINGS AFFECTING 5 LINES
----------------------------------------------------------------------
9 | WARNING | [x] Unused use statement
Administration Admin Toolbar (admin_toolbar) Module Enabled 8.x-1.18
Administration Admin Toolbar Extra Tools (admin_toolbar_tools) Module Not installed 8.x-1.18
Administration Toolbar Themes (toolbar_themes) Module Enabled 8.x-1.0-alpha4
Blazy Blazy (blazy) Module Not installed 8.x-1.0-beta6
Blazy Blazy UI (blazy_ui) Module Not installed 8.x-1.0-beta6
Chaos tool suite Chaos tools (ctools) Module Enabled 8.x-3.0-alpha27
Chaos tool suite Chaos tools Views (ctools_views) Module Enabled 8.x-3.0-alpha27
Chaos tool suite Chaos tools blocks (ctools_block) Module Enabled 8.x-3.0-alpha27
(Experimental)
Core Actions (action) Module Not installed
Package Name Type Status Version
Administration Admin Toolbar (admin_toolbar) Module Enabled 8.x-1.18
Administration Admin Toolbar Extra Tools (admin_toolbar_tools) Module Not installed 8.x-1.18
Administration Toolbar Themes (toolbar_themes) Module Enabled 8.x-1.0-alpha4
Blazy Blazy (blazy) Module Not installed 8.x-1.0-beta6
Blazy Blazy UI (blazy_ui) Module Not installed 8.x-1.0-beta6
Chaos tool suite Chaos tools (ctools) Module Enabled 8.x-3.0-alpha27
Chaos tool suite Ch

Keybase proof

I hereby claim:

  • I am hongpong on github.
  • I am hongpong (https://keybase.io/hongpong) on keybase.
  • I have a public key ASAw6dhKJj-DFRRdf4Xs-yVG6tFwu8FF9KHIJj_JnOHOdgo

To claim this, I am signing this object:

@HongPong
HongPong / mastodon JSON request returned
Last active December 11, 2017 18:28
getting https://mastodon.social/web/accounts/36238 in postman with: [{"key":"Accept","value":"application/activity+json","description":"","enabled":true}] should be also available at https://mastodon.social/users/HongPong/ which is preferred
{
"@context": [
"https://www.w3.org/ns/activitystreams",
"https://w3id.org/security/v1",
{
"manuallyApprovesFollowers": "as:manuallyApprovesFollowers",
"sensitive": "as:sensitive",
"movedTo": "as:movedTo",
"Hashtag": "as:Hashtag",
"ostatus": "http://ostatus.org#",
@HongPong
HongPong / gist:0269dd184ea412c7250248cbb49dd96e
Created December 21, 2017 05:20
citybound does not install on windows
had this error with windows latest visual studio 2017 and the vs toolchain of rustup just installed.
Compiling chunky v0.1.0 (file:////Projects/citybound/engine/chunky)
warning: you should consider deriving a `Default` implementation for `compact_hash_map::CompactArray<T, A>`
--> engine\compact\src\compact_hash_map.rs:231:5
|
231 | / pub fn new() -> CompactArray<T, A> {
232 | | CompactArray {
233 | | ptr: PointerToMaybeCompact::default(),
234 | | cap: 0,
@HongPong
HongPong / drupal module upgrader gistfile1.txt
Last active June 29, 2018 18:40
debugging drupal_module_upgrader
logfile from drupal module upgrader
Using the Drush script found at /home/web/.config/composer/global/drush/drush/vendor/drush/drush/drush.launcher using pcntl_exec
Cache HIT cid: 8.1.17-commandfiles-0-ed536466710c134b3a425785534aa1d8 [0.01 sec, 2.97 MB] [debug]
Bootstrap to phase 0. [0.06 sec, 7.6 MB] [bootstrap]
Bootstrap to phase 1. [0.06 sec, 7.6 MB] [bootstrap]
Drush bootstrap phase : bootstrap_drupal_root() [0.07 sec, 8.32 MB] [bootstrap]
Initialized Drupal 8.5.3 root directory at /public_html/web [0.07 sec, 8.33 MB] [bootstrap]
Find command files for phase 1 (max=1) [0.07 sec, 7.12 MB]