I hereby claim:
- I am frozzare on github.
- I am frozzare (https://keybase.io/frozzare) on keybase.
- I have a public key ASAu0jk21efZkw07DoY2EDMh07y_9lAYvXG95G0z98CooAo
To claim this, I am signing this object:
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_style = space | |
| indent_size = 2 | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| // reactWrapper fix issues with dynamic routes created | |
| // in `react-router` so we don't get a 404 page. | |
| // | |
| // usage: http.Handle("/", reactWrapper(http.FileServer("path/to/public"))) | |
| func reactWrapper(fs http.Handler) http.Handler { | |
| return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) { | |
| staticIndex := strings.Index(req.URL.Path, "/static/") |
| <?php | |
| function render_user_profile_fields( WP_User $user ) { | |
| $twitter = get_user_meta( $user->ID, 'twitter', true ); | |
| ?> | |
| <h3>Custom user info</h3> | |
| <table class="form-table"> | |
| <tr> | |
| <th> |
| Verifying that +frozzare is my blockchain ID. https://onename.com/frozzare |
| <?php | |
| /** | |
| * Force enable a plugin. | |
| * | |
| * @param array $plugins | |
| * | |
| * @return array | |
| */ | |
| add_filter( 'option_active_plugins', function ( $plugins ) { |
| <?php | |
| /** | |
| * Fix network admin URL to include the "/wp/" base. | |
| * | |
| * @see https://core.trac.wordpress.org/ticket/23221 | |
| * | |
| * @param string $url | |
| * | |
| * @return string |
| sudo: false | |
| language: node_js | |
| node_js: | |
| - 'iojs' | |
| - '0.12' | |
| - '0.10' | |
| before_script: |
| global $current_screen; | |
| $current_screen = WP_Screen::get('admin_init'); | |
| // test your code | |
| $current_screen = null; |