68°F

Aaron Parecki

  • Articles
  • Notes
  • Photos

#code

  • Jj Del Carpio https://www.instagram.com/jjdelc/
    I didn't want to post on Instagram until I had this problem solved. I need my Instagram posts to be copied to my blog so i have a controlled copy of my content. The service I used got blocked by Instagram so I had to write my own. So now I'm good again. Remember, we're in a borrowed platform and we don't control if our data gets deleted or removed. #indieweb #micropub #pesos #nerd #webdev #python #Developer #webdeveloper #geek #programmerlife #programmer #dev #code #coderlife #coder
    Portland, Oregon • 41°F
    #indieweb #micropub #pesos #nerd #webdev #python #Developer #webdeveloper #geek #programmerlife #programmer #dev #code #coderlife #coder
    Sun, Oct 13, 2019 10:15pm +00:00 (liked on Mon, Oct 14, 2019 7:26am -07:00)
  • Jeremy Keith https://adactio.com/

    Simplicity (II)

    September 10th, 2019

    When you ever had to fix just a few lines of CSS and it took two hours to get an ancient version of Gulp up and running, you know what I’m talking about.

    I feel seen.

    When everything works, it feels like magic. When something breaks, it’s hell.

    I concur with Bastian’s advice:

    I have a simple rule of thumb when it comes to programming:

    less code === less potential issues

    And this observation rings very true:

    This dependency hell is also the reason why old projects are almost like sealed capsules. You can hardly let a project lie around for more than a year, because afterwards it’s probably broken.

    Tulsa, Oklahoma • 78°F
    #simplicity #process #code #coding #dependencies #workflow #frontend #development
    Tue, Sep 10, 2019 12:38pm +00:00 (liked on Tue, Sep 10, 2019 9:08am -05:00)
  • Prefill Embeds - CodePen Blog (blog.codepen.io)
    #code #web
    Mon, Jan 21, 2019 12:03pm -08:00
  • Jeremy Keith https://adactio.com/

    Cancelling Requests with Abortable Fetch

    April 20th, 2018

    This is a really good use-case for cancelling fetch requests: making API calls while autocompleting in search.

    San Francisco, California • 60°F
    #fetch #cancelling #abortable #requests #api #javascript #code #autocomplete #frontend #development #ajax
    Fri, Apr 20, 2018 1:21pm +00:00 (liked on Fri, Apr 20, 2018 5:38pm -07:00)
  • Owning my Code Snippets

    It's very convenient to be able to quickly share a link to a code snippet, which is something I've mostly done using gist.github.com. While often the code snippets are sort of throwaway, I still feel bad that I'm posting them in a place that I don't control.
    continue reading...
    1 reply 4 mentions
    #p3k #indieweb #code
    Sat, Jan 6, 2018 2:49pm -08:00
  • Aaron Parecki
    Finally packaged up my HTTP functions into a library! https://github.com/aaronpk/p3k-http Previously I had been copy+pasting these around to quite a few projects. Happy to have consolidated these finally!
    Portland, Oregon
    #http #p3k #library #code #indieweb
    Fri, Apr 28, 2017 11:58am -07:00
  • Make all protected methods public for PHPUnit (gist.github.com)
    /*
     * Make all protected methods public for PHPUnit
     */
    class ExampleClassTest extends ExampleClassTest {
    
      public function __call($method, $args) {
        $method = new \ReflectionMethod('ExampleClass', $method);
        $method->setAccessible(true);
        return $method->invokeArgs($this, $args);
      }
    
      public static function __callStatic($method, $args) {
        $method = new \ReflectionMethod('ExampleClass', $method);
        $method->setAccessible(true);
        return $method->invokeArgs(null, $args);
      }
    
    }
    #php #test #phpunit #code #example
    Sun, Dec 6, 2015 10:27am -08:00
  • Cosmos Browser (github.com)
    Cosmos Browser allows a person to connect to the internet through the use of SMS. No data or wifi required.
    #code #sms #internet
    Thu, Sep 11, 2014 12:44pm -07:00
  • Tig: text-mode interface for git (jonas.nitro.dk)
    #code #command-line #git #text #utilities
    Wed, Aug 29, 2012 5:11pm -07:00
  • A simple library for handling keyboard shortcuts in Javascript. (craig.is)
    #code #javascript #keyboard #open source #resources
    Fri, Jul 6, 2012 2:23pm -07:00
  • GitHub Flow (scottchacon.com)
    #code #deploy #git #github #source control #version control
    Sat, Oct 1, 2011 10:22am -07:00
  • Sample Applications for the Android platform (code.google.com)
    #android #apps #code #example #java #sample code
    Sun, May 29, 2011 3:02pm -07:00
  • Socket programming in Java: A tutorial (www.javaworld.com)
    #android #code #java #reference #sockets #tutorial
    Sun, Apr 10, 2011 12:07pm -07:00
  • list all svn commmitters (www.justatheory.com)
    #code #git #svn #version control
    Tue, Mar 1, 2011 11:46am -08:00
  • Custom UISwitch Control (www.homick.com)
    #code #development #ios #iphone #reference #xcode
    Thu, Jan 13, 2011 3:31pm -08:00
  • Roundcube Source (trac.roundcube.net)
    #code #email #gpl #html #library #mail #php #reference #roundcube #source
    Tue, Jan 11, 2011 1:04pm -08:00
  • SourceForge.net: HOWTO: Scan images using the API - zbar (sourceforge.net)
    #code #library #qrcode
    Mon, Nov 1, 2010 4:31pm -07:00
  • IMAP Authentication for Wordpress

    UPDATE 2/13/09: There is a newer version of the IMAP Authentication plugin for Wordpress 2.7.1.
    continue reading...
    1 mention
    #code
    Thu, Aug 28, 2008 1:00am -07:00
  • Sorting a query in MySQL ignoring the word "The"

    When you have a database of books or movies, some of the titles begin with "The." If you do a regular ORDER BY on the table, all the titles that start with "the" get clumped together. One option is running an unsorted query and sorting in PHP, but it would be better to sort at the database level. Here is a query I came up with to do that, using an IF function in MySQL!
    continue reading...
    #code #database #MySQL #sorting #SQL
    Sat, Apr 19, 2008 9:50pm -07:00
next

Hi, I'm Aaron Parecki, Senior Security Architect at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming and dabble in product design.

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Security Architect at Okta
  • IndieWebCamp Founder
  • OAuth WG Member

  • 🎥 YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • ⚙️ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2023 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv