Skip to content

Instantly share code, notes, and snippets.

View sarelvdwalt's full-sized avatar

Sarel van der Walt sarelvdwalt

View GitHub Profile
@sarelvdwalt
sarelvdwalt / Nilaus - Smelters - Early Game
Created November 1, 2024 13:33
Nilaus - Smelters - Late Game
0eNrVfWuvHDmS3V8R9MkGrrx8BF8D2MDswgYM2FjA7W+LxkDdfadXWLUkS+rZHRjz312VmVWXV31ZdeKEYUcDAlSsW0kmIw6ZzOCJw//9+of3vz5++vzuw9c//fDx47+8/sP/fvrmy+s//NNUPP/t3Y8fP+xff3n384e378/ffXj7y+PrP7z+4fHt6Y+v//bw+t2Hnx7/7fUf4t8eXvjZ4/vHH79+fvfjmz//+vnD2x8fpwvSixe8+/zxw5tP799+nX+aX/zpjx8/fXr8/Jsfy9++f3j9+OHru6/vHveb3wp//dOHX3/54fHz6U4fvunEw+tPH7+cfn76eKr93F4J/6E8vP7r6z+8SSP+h3Ku/OvjL3tt736a7uHLp8fHn9788vGnX98/vsmvn354+t2HP7378JdT2x8//3W/8Kl0uoUvX9/+eHJAOHftxb/Ev33/t9O/h9/cf7re/+O/ffr8+OXLm6+f33748unj569vfnh8//Wl/qSn/pw+/u2FWjNgle7YKmKzSnzZKuU3tX759P7d16+nv71QX77UFnbrfPj069c/nUbTx8+nOk91vH/889fXL7RSiXsvT/e+t/bTu8+nsbb9JKYXGmlEI3Kjkf5CG51oo2o7Mq6N/PL407tff3lznWQ+fXz/+EIT0q5N9PGyn2NQTQq9e4N/jL8x/a+n+fDzz58/nv4HRsBmmYfXX//66VzHx1+/nrD7ElYjM/3k+w7Itmr7olrbtHD4eUKkvNRI0SJyGr1Lg1TTeD3ceW8sxWlW+PZRffu2260R8OnzCfyndv9yaks/EGQ5EAQYCE9z0J/ffvn65t2HL4+fF/N1vWGul6a3OFQPSX+zRFJOc8VdB6JtPLeXB1tKOGim2ioCmpTxuvO34+vOzJNEB0h//iyq+Weyjzidf1LF3V2+7c49dz/N1l9+efv+/Zv3b3/5dKfiskC8bam23e9L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fUdrDs
#!/bin/bash
cd "/Users/sarel/Library/ApplicationSupport/EVE Online/p_drive/Local Settings/Application Data/CCP/EVE/SharedCache/wineenv/drive_c/users/sarel/Local Settings/Application Data/CCP/EVE/c_tq_tranquility/settings_Default"
cat core_char_95599916.dat > core_char_95667485.dat
cat core_char_95599916.dat > core_char_96349917.dat
cat core_char_95599916.dat > core_char_96595293.dat
echo 'done.'%
@sarelvdwalt
sarelvdwalt / ResponseJSON.php
Created June 1, 2015 19:40
Symfony Response Object that creates a JSON object which envelopes your content in a "content" part and has "meta" data that you can add on to. I tuses the JMSSerializerBundle to make sure it serializes properly.
<?php
/**
* User: sarel
* Date: 2015/05/31
* Time: 10:10 AM
*/
namespace AH\AQueueBundle\Helper;
use JMS\Serializer\SerializerBuilder;
try {
// something cool goes here
} catch (Tail $t) {
// write entry in diary
} finally {
// finally! fuck!
}
@sarelvdwalt
sarelvdwalt / cappedStaticCacheVAR.php
Last active August 29, 2015 13:57
Demonstrates how to have a static cache variable (array) which is capped to a maximum count of entries, with last-in-first-out.
<?php
/**
* Demonstrate how to have a static cache variable that is capped to a maximum count.
*
* User: sarel
* Date: 2014/03/06
* Time: 8:27 PM
*/
class testShifting {