chebe: (OlympusCamera)
You are Good People, right? You just want to get what's yours (albeit in the laziest way possible), right? You don't want to misuse any tools to cause any damage, right? Okay, great, listen up.

A while back I came up with some cmd line calls using wget to back up my LJ Scrapbook. This method stopped working as LJ restructured Scrapbook a few times. Me, I kept using them as free image hosting. But, for some reason, I've been remotivated to get a backup.

They use Flash. Flash does not play nice with, well, anything. So I am left with the not so elegant brute-force approach.

Log in to LJ. Go to your Scrapbook, view a photo, click on the little share icon. Grab your $usernumber.
Format:
http://ic.pics.livejournal.com/$username/$usernumber/$photonumber/$photonumber_original.jpg
Have a look at your newest upload, note the $photonumber.

While logged in, export your cookies.txt (see previous post, basically find plugin for your browser).
Plug $username, $usernumber, and a number greater than the $photonumber into $maxphotonumber.

Run script.

#!/bin/bash
username=your_user_name
usernumber=your_user_number
maxphotonumber=your_max_number
for (( c=0; c<=$maxphotonumber; c++))
do
wget --load-cookies cookies.txt -erobots=off -nd -np -r http://ic.pics.livejournal.com/$username/$usernumber/$c/"$c"_original.jpg
done


The script simply checks every single number between zero and your maximum number. If there exists an image, it will save it, with the same name. It only checks for the _original images. It saves everything in the one directory. It is not optimised, but it should get everything. Most of the flags aren't needed. But I think they show well just how much patience I lost with this whole thing.

*edit* About 14 hours to get over 1,000 pictures in a 280,000 number range.

*edit2* If you get a few unopenable files, try different format extensions.

33C3

2017-Jan-02, Monday 12:08 pm
chebe: (Default)
Congress is an experience. Having an Assembly to hang around is a major plus. Like other conventions, the main purpose seems to be meeting up with people you don't get to see every often. (And complaining about how tired you are.) There were enchanting displays all over the place. I'm sure I didn't even manage to see everything. It never really stopped either. There was dancing in the snowglobe at 6am. There was hanging out in the sci-fi console area of the purpose-built-technically-outside lounge at 7am. I still haven't quite got the hang of the toilet and elevator parties. I wish I'd been well enough to do more, see more. But I certainly have ideas for next time.



Congress; 8am Day 4
Photo by chebegeek

33C3; day zero

2016-Dec-26, Monday 10:40 pm
chebe: (Default)
Agent chebe reporting from 33C3; day zero. Although I've been to hacker camps before, like OHM and EMF, this is my first Congress. Plus side; no tents. Negative; hotel is far away, and there's winter rain. We got our wristbands, set up the Assembly next to the lovely Scottish Consulate. Got on the wifi. You know, the essentials. Had a quick look around as people were setting up. It already looks amazing, I'm sure tomorrow will permanently warp my sense of reality. I am a bit worried about how crowded it will be. 13,000 people, one venue. But there is that feel in the air, the one of creative minds working away.

P.S. I am probably Patient Zero.
chebe: (Sewing Machine)
With the chalky taste of paracetamol in the back of my throat, there's only a small make this weekend. Or should I say, smalls?

I got a book recently, Knickers!, although 'book' is a bit of an exaggeration. There's a quick intro, and then it's straight in to instructions on how to make six (although three distinct) varieties of knickers. Then in the back there are patterns you need to enlarge 200%, or you can download the fullsize patterns from a website and print them (at 70+ A4 pages). Size charts are in UK dress sizes, not measurements. But otherwise, it is beautifully to-the-point, and very clear.

I used some left-over Fushia jersey, about two metres of black stretch lace, and took on the 'Stretch Knickers' pattern. Start to finish in an hour. I'll definitely be making more.

Couple of photos )

Win10 + Fedora25

2016-Dec-14, Wednesday 09:51 pm
chebe: (StepIntoTheLight)
Golly gosh gawd darn. I just learned me some things.

I just dual-booted my new(ish) Windows 10 laptop with Fedora 25.
The usual process applies;
- shrink Windows partition using Windows own tool in Disk Management
- create nifty live usb (from new live usb creating program from Fedora)
- boot into live usb

(An aside; in order for the boot menu (F12) to be accessible/work, first I had to go into the BIOS (F2) and enable the boot menu.)

- inside live usb, install to hard disk (Fedora handles all the details, just point it at the empty space)

Then things have gotten a little bit different. No messing with boot sectors, no dd, no MBR editing, no bcdedit. You reboot, and things just work.

(Another aside; Except, when they don't. I tried many things, but it seems I needed to go back into my BIOS, set a Supervisor Password. This unlocked the Secure Boot menu, which allowed me to add a trusted image. Follow the menus down through Fedora to grubx64.efi, and select. Save and exit. Go back into BIOS, to the boot menu order, grub will now be in the list, make it goes to the top of the list. Save and exit.)

On boot you will be greeted with the grub menu; offering you Fedora, or to go to the Windows Boot Menu.

Happy days. I'm dual-booted again!

(On the plus side; everything just seems to work in Fedora 25! From the wlan, to the touch screen, it just, it's beautiful. *wipes tear away*)
chebe: (HandAgainstGlass)
This weekend involved getting to see Placebo in concert, so not much else happened. But that's the great thing about software, you can be productive without getting out of bed.

I recently attended a Quantified Self meetup on sleep, that gave me the kick up the arse I've been needing. (Which was only compounded when I heard about Pebble closing, and that Fitbit would take over their servers, and staff.) One of the presenters talked about how he got his Fitbit data and how he analysed it. (If you're interested, slides are here, and blog post here.) He switched to using the official APIs when they became available, but I went with his original approach, a python program to log in and get your intraday data points instead of the aggregated stuff you get on the dashboard.

I haven't been the most steady wearable user, but there were a few months when I wore it reliably. Simply because I was sleeping terribly and wanted to understand just how badly. Although I never got around to actually analaysing the data, until now. (That's one thing about all these QS talks, typically everyone showing their data is the picture of good health. I'm more interested in seeing what it looks like when it goes wrong.)

I used the website dashboard to find the months that actually contained data. Then I exported csv files, month-by-month, using the official export option. This is the aggregated information, but it will be nice to see if it correlates with the intraday info.

Then armed with dates that contain valid data, I put them into the python program, and grabbed all my data. In short, download and extract the source code. In the same folder as setup.py create your own python file, where you will create your own client. (This information is apparently in the example files, but I poked around before I noticed that.) To create your own client you just pass in your email address and password;
client = fitbit.Client.login(email="bob@example.com", password="password")
You grab the specific info you're interested in;
client.intraday_sleep(date)
And then dump it to screen/file/whatever you want. Although it's a good idea to format it a little.

Sleep data is recorded as one value per minute.

# The different values for sleep are:
# 0: no sleep data
# 1: asleep
# 2: awake
# 3: very awake

# data will be a similar list of tuples, but spaced one minute apart
# [
# (datetime.datetime(2010, 2, 20, 23, 59), 2),
# (datetime.datetime(2010, 2, 21, 0, 0), 1),
# (datetime.datetime(2010, 2, 21, 0, 1), 1),
# ....
# (datetime.datetime(2010, 2, 21, 8, 34), 1),
# ]


And then, we are left with the task of analysing the data. Which is a much bigger one.

Sewing miscellaneous

2016-Dec-05, Monday 02:16 pm
chebe: (WhoWouldHaveThought?)
No make to report this week. But the past couple of weeks I've been on an organisational binge. It started with getting the Colette Sewing Planner. It not only enabled me to collect all my projects and notes in one place (that conveniently fits in my handbag), but it also forced me to think about what it is I actually wear, and what I want to focus on.

But of course, it only lead onto other undertakings; like sorting all my patterns (upgrading to clear envelopes because I had a right pain opening up all the opaque ones when looking for the right pattern), and finally taking on sorting through my fabric stash. Every length is now measured and tagged. ... But then, I figured it would be beneficial to create my own swatch book. So I found a PDF template, customised it, and now I've sent it off to get printed on some nice card stock.

I've also ordered a bunch of needles I'm missing (like twin stretch), some nifty tools (like twin pattern wheel), and some new cases/boxes to help me tidy up my overflowing sewing box. It's a deep rabbit hole, but I think I'm close to the end. And I've rediscovered quite the collection of projects that I already have all the fabric and thread for, so hopefully I'll be able to tackle the really long list swiftly. ... Oh, ribbons and elastics! ... Tidying up, who knew it was so helpful?
chebe: (Spools of thread)
This weekend I began the journey towards trousers. I'm taking the long route, so I started with some pull-on knit shorts. Simplicity 1429, view E; long (knee-length) shorts, with acres of material. I can't quite figure out why this pattern is knit-only. Nothing stretches (except the elastic wasitband). I could have made this in a lightweight non-stretch woven and only the drape would have been affected.

Otherwise though, cute lounge shorts. There are soft pleats in the front, darts in the back, and a blind hem, of which I will only say that I need more practice. A lot more.

I also added the waistband to the wrong side, and had to unpick it. A narrow zigzag stretch stitch on a thin rayon. It took a very long time. And then, I put it back on inside out, and could not face unpicking it again. Most people don't go around inspecting each others wasitbands though, so it should be okay.

I made it in a featherweight jersey called Fushia Dakota knit, 95% rayon/5% spandex. (Which made machining the blind hem extra fun.) Comfy, light; I can see the full length trousers working well in hot weather.

Loungey )
chebe: (GirlDayDreaming)
This weekends make was Seamwork's Oslo; an oversized, slightly boxy, long cardigan. I made it in a Medium, and there is still oodles of room there. Definitely comfy.

I left off the buttons. And went with sleeve option 2 (the non roll-up kind) because when working with computers I find it easier to have my wrists accessory free. Although they are still long enough to cover the knuckles. I did have the seam ripper out for this one. It took me way too long to understand the cuff instructions. (Turn half inside-out to right side out.)

I made it in a nice polyester Ponte de Roma (quickly becoming my favourite fabric) with just a touch of spandex (4%). The colour is officially 'Petrol', which is like a darker, more blue teal? I'm pretty sure it will go with almost everything in my wardrobe.

Slouchy )
chebe: (Sewing Machine)
Seamwork's Aberdeen is a v-neck, batwing sleeve, t-shirt. The front is one piece, so no need to worry about matching patterns. The back is two pieces, and also features a v-neck, which I think is a nice touch.

I need to practice adding v-necks. There's a little bubble at the front point, and the back ones didn't quite line up. Also, because I hate hemming, I half-assed the hem with just a single turn and zig-zag stitch.

But, it's cute and comfy. I made it up in a light t-shirt weight stretch jersey. I picked up this fabric as a remnant while on holiday in Vancouver years back. The print is busy, but monochromatic, so sufficiently moody for my tastes.

Ta-da! )
Page generated 2017-Sep-20, Wednesday 05:40 am
Powered by Dreamwidth Studios