| rng prototype (Photo credit: Dick Thomas) |
The new FOSS Adventures of Mr Dick Thomas
how to setup XCOM under debian wheezy with playonlinux
making a debian VPN server and how to connect to it
Free and Opensource licences for sublime text 2 autocomplete
Video on dualbooting Windows and Debian Linux
using a free ssl certificate and Debian
| rng prototype (Photo credit: Dick Thomas) |
# place plugins here---each in their own subsection of [plugins]. see # documentation for details. [plugins] [[mediagoblin.plugins.geolocation]] [[mediagoblin.plugins.api]] [[mediagoblin.plugins.oauth]]then run
./bin/gmg dbupdate
xpd259@mars:~/workspace$ git clone git://github.com/joar/mediagoblin-android.git Cloning into 'mediagoblin-android'... remote: Counting objects: 107, done. remote: Compressing objects: 100% (47/47), done. remote: Total 107 (delta 36), reused 107 (delta 36) Receiving objects: 100% (107/107), 317.13 KiB | 82 KiB/s, done. Resolving deltas: 100% (36/36), done.in eclipse edit the resource
and change the secret key and client id already filled in with your own and then build on your client, Then on your phone it will now load up media goblin and ask for a url fill this in, and then login using your username and password now any media your from the gallery and maybe other apps (not tested this yet) will have a share to media goblin icon, after giving your media a title and such a quick upload will silently add it to the upload sync and
NameVirtualHost *:80 Listen 80 Listen 443 NameVirtualHost *:443 SSLStrictSNIVHostCheck off/etc/apache2/sites-available/default-ssl
<VirtualHost *:443>
ServerName www.exapmple.com
ServerAdmin email@example.com
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/apache2/ssl/www.crt
SSLCertificateKeyFile /etc/apache2/ssl/www.pem
SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
SSLCACertificateFile /etc/apache2/ssl/ca.pem
...
rest of normal config
...
</VirtualHost>
<VirtualHost *:443>
ServerName gallery.example.com
ServerAdmin webmaster@example.com
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/apache2/ssl/gallery.crt
SSLCertificateKeyFile /etc/apache2/ssl/gallery.pem
SSLCertificateChainFile /etc/apache2/ssl/sub.class1.server.ca.pem
SSLCACertificateFile /etc/apache2/ssl/ca.pem
...
rest of normal config
...
</VirtualHost>
Then a restart of apache2 and loading any modules it requires and "job is good one"
If you’re anything like me, you're probably using of a half dozen remote servers on a daily basis. And if you’re even more like me, you have trouble remembering all of the various usernames, remote addresses and command line options for things like specifying a non-standard connection port or forwarding local ports to the remote machine.
A typical SSH command looks something like this
ssh user@example.com Password: **************Not too shabby, but if the port is not on 22 like default, A more complex example of a connection could be something like
ssh sdfds@example.com -p 8937
now we could make this easier by adding a alias to ~/.bashrc so we connect with a simple bash alias$ alias web='ssh username@web.example.com -p 224050'and simply running
# web password: *********
however there is a more elegant solution, ~/.ssh/config
Host mirror
HostName server1.co.uk
Port 6223
User mirror
Host www
HostName server2.com
Port 66
User www-data
Host jupiter
HostName server3.org
Port 22
User xpd259
Host fileserver
HostName fileserver.foo.com
IdentityFile ~/.ssh/fileserver_rsa
Host Minecraft
HostName minecraft.foo.com
User minecraft
IdentityFile ~/.ssh/minecraft_rsa
ServerAliveInterval 30
ServerAliveCountMax 120
then it's possible to connect via a simple
ssh www
orssh -X www
I wanted to allow normal users to be allowed to access wireless networks without knowing the system password
or been given access to sudo,
while I've been told this has been updated and fixed in the sid package, some might not want to upgrade packages
so fire up your terminal and run
sudo nano /usr/share/polkit-1/actions/org.freedesktop.NetworkManager.policy
then search for the follow section and below the translations edit the allow_active to say yes
<action id="org.freedesktop.NetworkManager.settings.modify.system">
...
...
<defaults>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
this should allow normal users to use network manager and use wifi without the admin passwords
this "fix" might get undone if an update is applied to the system
this should also work for any system using policykit such as ubuntu and arch
Using truecrypt to secure your data is a very wise idea, not only does it stop prying eyes from reading your data encase your PC is stolen it also means you can use a dropbox style syncing service, safe in the knowledge your data can (almost) never be read if the service is comprimised
Things you will need to do this
First Step creating the group to limit users to the truecrypt group who can use truecrypt
Edit the sudo config to allow the group to run the command
Add users to the group
logout and in again, and now when truecrypt is run, there should be no password dialog for mounting and unmounting other than your TC vaults password
I love my blog template, but it was lacking a code block to highlight when I was posting code other then using quote and that just didn't look right.
so how to go about it, html and css was the key. Make a background then make a green box around it then add some padding
.code{
background:gray;
padding:25px;
max-width:550px;
color:limegreen;
border-style:dashed;
border-width:2px;
border-color:limegreen;
}
this was all the css I needed to make the box look how I wanted it, but now to use it, I could use it inline but that would mean adding something like it everytime I made a post.
This was a messy idea and would mean dupication of code, putting it in the template and calling <p> class="code" </p> in the html editor was much more elegant.and less prone to errors
to edit the html/css visit Template in settings then customise-> Advanced -> css
by adding this code to the css section of advanced section of the template editor I can call it by adding the following to a post
<audio controls="controls" height="50px" width="150px">
<source src="URL.ogg" type="audio/ogg">
<source src="URL.mp3" type="audio/mpeg">
Your browser does not support the audio element. Upgrade your browser to one that does
</audio>
![]() |
| Enclosure Links |
![]() |
| add -no-dwrite |
![]() |
| Custom Short-cuts |
![]() |
| Full Screen capture |
![]() |
| "Active window mode" capture |
![]() |
| Icepop |
