#symlinks help me. help me symlinks
Explore tagged Tumblr posts
Text
[horrible sounds of creaking steel sheets] hm hm hm hm yes of course it saves the ever-increasing number of files required for a live service game in C:, in locallow at that
#symlinks help me. help me symlinks#not that my other drive is doing much better (it's also in the red) but for that i can just finish one of the 45897663953 bideobames i have#and free up space like that#if this doesn't work with links then it'll have been a short but sweet career as a horsegirl trainer#since i got the kid i wanted immediately (and it's documented) the gacha does NOT have its claws on me and i can quit literally whenever
2 notes
·
View notes
Text
gnome-boxes vms using virt-manager bridged network
I started with using gnome-boxes.
it was flaky
i've started primarliy using virt-manager ( virsh --connect qemu:///session to be able to talk to the domains)
i wanted to share services from my hypervisor host (ubuntu 20.04 currently). primarily, because i'm still on old versions of libvirt/hypervisor kernel/whever else virtiofs isn't available to me without extra work, so i want to nfs share host files because sshfs doesn't support symlinks.
i found a couple of really good explanations of the process.
stack overflow ( https://bit.ly/47xx3S0 )
blog post ( https://bit.ly/3H9myJJ )
unfortunately that blog post going through the specifics of creating /etc/qemu/bridge.conf explicitly sets readability of the file to 640. AND thanks to bad error handling in virt-manager i was being told when trying to start the domain.
"Error starting domain: 'utf-8' codec can't decode byte 0xab in position 159: invalid start byte"
thankfully i came to my senses and started with virsh start because that got me a helpful error explaining that there was no access to read /etc/qemu/bridge.conf. makes sense if it's not a world readable file and i'm starting the domain in "user mode"...
1 note
·
View note
Text
Misery
John calls in from the old place. There's a KIA dealership that's famished for clients, even if they dug their own grave over the last several years by not bringing scumbag Sales Reps to heel. They're full up, so he asks if we can fill in.
Walt takes one look at the list and coughs pointedly.
"I'm not working for these jagoffs even if you paid me a 500% bonus, John. They burned their clients, they made their bed - it's not my problem if they've got KIA Canada breathing down their neck."
John tries to haggle, but neither Walt or Sarah wants anything to do with 'em. He later PMs me, perhaps as a pithy attempt to weasel his way in. "Come on, Dan - help a pal out, won't you?"
I feign cordiality. "Sure! If you're up for five hours of Linux admin work and can figure out how some of our own guys keep breaking their symlinks, I'll take a look at your list."
He responds with the expected confused grunt. I add in a chuckle. "Thought not. Sorry John; it's for the best. It's high time this particular dealership got a visit from KIA's auditors, and you know it as well as I do."
1 note
·
View note
Text
How to move your Sims documents folder by using Junctions
Updated 7/9/19 to (hopefully) make things more clear on how to delete a junction, and revert back. See #8. Updated 7/15/19: I’ve noticed (at least with TS3) that my Cache files don’t seem to be working correctly. My settings were still working, however the cache files themselves are showing as “1kb”. This seems to be unrelated to this tutorial, as it is happening even when I have it installed the “traditional way”. - 3/2/21
I have multiple drives and recently got an m.2 SSD which is much faster than my current SSD with Windows on it. While looking for a way to move my Sims documents folder to my new drive, I stumbled upon junctions and I wanted to share as I thought it could be really useful.
In basic terms, junctions are a way to tell Windows to see another folder as your Sims documents folder. While you can do this with other methods such as symlinks, from my (albeit limited) research junctions seem to play nicer with most programs/video games (source link), unlike symlinks (source link).
So who might find junctions helpful?
Anyone who wants to move their Sims folder from their documents folder.
If you have multiple SSDs/Hard Drives
If you play multiple saves with different mods, such as themed hoods, and want a quicker way instead of moving files back and forth all the time.
If you want to be able to save your games to the cloud to use on multiple computers. Yes, it works for Dropbox/OneDrive etc!
Requirements:
Windows OS
Enough hard drive space.
Some knowledge of computers. I take no responsibility if you mess something up from you using this tutorial, so please only follow along if you feel comfortable with your computer knowledge.
Link Shell Extension for this tutorial. There are other ways to create junctions, including other programs, but for this tutorial I am only using Link Shell Extension. It's all I use so I can't help if you decide to use something else.
This should work with any Sims version, but I’ve only personally tested it on The Sims 3, and The Sims 4. For this tutorial I will be using The Sims 3 as that's what I personally created my junction for. I will be using "The Sims 3" below, but replace it with whatever your game is.
1) First, download and install Link Shell Extension. You will need to refresh windows explorer for it to finish installing so it will show up.
2) Now create a new folder where you want to store your Sims documents folder at. I personally store mine at G:\TheSimsDocs.
3) Now navigate to your original Sims documents folder. C:\Users\YOURPC\Documents\Electronic Arts, or for TS2 it would be C:\Users\YOURPC\Documents\EA Games. >>PICTURE.
4) Copy your The Sims 3 folder (or whatever sims game) over to your new folder. For me this is the G:\TheSimsDocs folder I mentioned above. >>PICTURE.
5) Once your folder has finished copying over, you need to delete The Sims 3 folder from your original Documents folder (the C:\Users\YOURPC\Documents\Electronic Arts one) to get junctions to work correctly.
6) After you've deleted The Sims 3 folder from your original documents folder, navigate back to the new folder. Again, for me this is G:\TheSimsDocs. Right click on "The Sims 3" folder, and choose "Pick link source". >>PICTURE.
7) Navigate back to your original documents folder (C:\Users\YOURPC\Documents\Electronic Arts). Right click on the Electronic Arts folder and choose "Drop as..." and choose "Junction". That's it! You should be able to start your game and have it recognize your new folder as if it were in your original documents folder. >>PICTURE 1. PICTURE 2.
8) You can ignore this if you don’t want to revert back, or need to delete junctions for any reason. Aside from the reason(s) listed below, if you want to revert your folder setup to how it was before, you will need to delete your junctions and move your sims document folder back to its original location. If you don’t move your sims documents folder back, but do delete the junction, it will still repopulate to the correct location, but you’d be “starting over”. You will not have your saves/cc/etc unless you move the sims documents folder that has all of your saves/cc/etc back to the original location. Please read below on how to delete Junctions.
READ ON IF YOU WANT TO USE THIS FOR MULTIPLE SAVES/THEMED HOODS.
--THIS IS ALSO RELEVANT IF YOU NEED TO DELETE JUNCTIONS FOR ANY REASON.--
You can not have multiple junctions at a time for one game. You will need to delete your junction each time you want to use a different The Sims 3 themed folder, and create a new one for the correct theme you want to play. You can delete junctions by navigating to C:\Users\YOURPC\Documents\Electronic Arts and right clicking on "The Sims 3" and choosing "Delete Junction". >>PICTURE. Addition note: Notice how Junction folders look different from “regular” folders (at least on Windows 10). They have an arrow on the folder, unlike “regular” folders. I don’t know if this is true for other Windows versions as I only use Windows 10.
While there may be an easier way to do this, the way I am doing it is as follows: Instead of just plopping "The Sims 3" in G:\TheSimsDocs, I've made subfolders such as "The Sims 3 Medieval", and "The Sims 3 MM". So instead of it being G:\TheSimsDocs\The Sims 3 it would be G:\TheSimsDocs\The Sims 3 Medieval\The Sims 3. Create a junction the same way as you would above, just remember you MUST delete your old junction before switching junctions to a different themed hood!
--------------------
You can also create junctions to your Dropbox/OneDrive etc using the same method. While I have not done this personally, it should be something like C:\Dropbox\SimDocs\The Sims 3 or where ever else your DropBox/OneDrive etc is located on your PC. Any time you use a new PC, you’ll need to download Link Shell Extension and create new junctions for Dropbox/OneDrive on that PC.
64 notes
·
View notes
Text
The create-react-app imports restriction outside of src directory
I am using create-react-app. I am trying to call an image from my public folder from a file inside my src/components. I am receiving this error message.
./src/components/website_index.js Module not found: You attempted to import ../../public/images/logo/WC-BlackonWhite.jpg which falls outside of the project src/ directory. Relative imports outside of src/ are not supported. You can either move it inside src/, or add a symlink to it from project's node_modules/.
import logo from '../../public/images/logo_2016.png';<img className="Header-logo" src={logo} alt="Logo" />
I have read many things saying you can do an import to the path but that is still not working for me. Any help would be greatly appreciated. I know there are many questions like this but they are all telling me to import logo or image so clearly I am missing something in the big picture.
https://codehunter.cc/a/javascript/the-create-react-app-imports-restriction-outside-of-src-directory
0 notes
Text
Assaultcube hack
#ASSAULTCUBE HACK INSTALL#
#ASSAULTCUBE HACK SOFTWARE#
#ASSAULTCUBE HACK PC#
#ASSAULTCUBE HACK FREE#
However, suggestions and comments are welcome and greatly appreciated I will not be accepting requests or anything like that. This thread will be updated from time to time to include more cheats. My decision on whether to release them for windows would mostly count on the level of demand from people. If you want the Windows versions of the cheats, please let me know by posting in this thread. I may release Windows versions of the cheats when I have the time, or when I feel like it. The cheats released in this thread are only Macintosh Compatible. The cheats released here are all made extremely easy to use. This thread is for Macintosh users who want to cheat in AssaultCube but do not know anything about C++ or modifying the source code. compiling will be a tad difficult.Hello all.
#ASSAULTCUBE HACK PC#
but since i only have a rpi2 as my PC at the moment.
#ASSAULTCUBE HACK SOFTWARE#
unless we can look at the software render it uses and get some ideas from there. i dont have a x86 pc with me so i cant cross compile or what ever they call it. I tried using both libs and still segfault. Libvorbisfile.so.3 => /usr/lib/arm-linux-gnueabihf/libvorbisfile.so.3 (0x76d5c000) Libopenal.so.1 => /usr/lib/arm-linux-gnueabihf/libopenal.so.1 (0x76d6c000) i see assault cube does go in order from video to sound in the startup procces: I did check what assaultcube needed this is what i think we should take a look at. but it did produce a lib file called:libGLU.so.1 its not a symlink. I don't know what's wrong yet.įor some reason when i compile glues. It worked fine with Raspbian (February, 2015).
#ASSAULTCUBE HACK INSTALL#
But I'd try it with libGLU first.ĮDIT: I did a fresh install of latest Rapsbian (May, 2015) and I now get a segfault with glshim and bloboats (my test case for glshim). here is the start up script for yaĪC_OPTIONS="-home=$ is a portability hack, keyword "wrapper script"Ĭode: Select all ldd symbols: If it doesn't come with debug symbols you have to compile it yourself with debug symbols enabled. "/usr/games/assaultcube": not in executable format: File format not recognized This GDB was configured as "arm-linux-gnueabihf".įor bug reporting instructions, please see: There is NO WARRANTY, to the extent permitted by law.
#ASSAULTCUBE HACK FREE#
This is free software: you are free to change and redistribute it. License GPLv3+: GNU GPL version 3 or later I tried it anyways but got ~ $ gdb assaultcubeĬopyright (C) 2012 Free Software Foundation, Inc. This will give you a basic idea what the problem could be. Read map packages/maps/official/ac_snow.cgz rev 6 (75 milliseconds)Ĭode: Select all (gdb) bt # bt is short for "backtrace" GlXGetProcAddress: glMultiTexCoord3fARB not found. It renders in sdl and mesa? what? if any one else can help me with glshim that would be nice the make part gives me errors! Sound: OpenAL Soft / OpenAL Soft (OpenAL Community) Renderer: Software Rasterizer (Mesa Project) Using home directory: /home/pi/.assaultcube_v1.104 I cant get glshim to work but look at ~/glshim $ LD_LIBRARY_PATH=/home/pi/glshim/lib LIBGL_FB=1 assaultcube I guess i can give it a shot i will report back! You may be able to make it work with glshim though, a shim which translates OpenGL calls to OpenGL ES so the GPU is being used. Assault Cube would need to be ported as well to make use of the GPU. The OpenArena port in the PiStore has been ported to OpenGL ES to make use of the Pi's GPU. Hiradur wrote:It probably software rendered if it's so slow = the graphics are all calculated on the GPU.
0 notes
Text
Maemo For Mac
Memo For Management
Memo For Mac
Maemo For Mac Os
Maemo For Macbook Air
Memo For Microsoft Word
IMO for Mac pc: With the help of IMO for Mac we can able to stay connected with our friends, Imo families and relations no matter whatever may be the distance IMO for Mac pc is not just a social app by which we can send a message to the people worth to us. This is a TECHNOLOGY PREVIEW of a new development tool for Maemo. MADDE stands for Maemo Application Development and Debugging Environment and offers the following features: Command-line cross-compiling Multi-platform support (Linux (32-bit/64-bit), Windows, Mac OS X) Configurable for different targets & toolchains. Maemo Community e.V. Invitation to the General Assembly 01/2015 Nomination period closed for Q4 2014 council election Announcement of the Q4 2014 Community Council election. GPE is a suite of applications that was ported to Maemo. Search for GPE in the downloads section for your version of Maemo. (You'll probably want GPE Calendar, GPE Contacts, gpesyncd to start with.) These are standalone applications, there's no integration with the Maemo address book. You'll not find data from GPE in the Mail client or Chat.
Download
Thank you for using our software library. Use the link below and download Maemo Flasher legally from the developer's site.
We wish to warn you that since Maemo Flasher files are downloaded from an external source, FDM Lib bears no responsibility for the safety of such downloads. We recommend checking your downloads with an antivirus. FDM Lib shall include an option for direct download from developers, should it become available in the future.
Often downloaded with
Flash WallpaperCreate and distribute Flash Wallpapers! Flash Wallpaper converts a Flash...DOWNLOAD
Flash Media PlayerFlash Media Player is a handy flash tool kit designed as Macromedia flash...DOWNLOAD
Flash JoinerFlash Joiner provides a new way to create your SWF easily. You can merge...$39.95DOWNLOAD
Flash SecurerFlash Securer is program which will allow you to carry your sensitive documents...DOWNLOAD
Flash WiperMany people believe formatting the drive or deleting the file will complete...$19.95DOWNLOAD
iWisoft Flash SWF to Video Converter
Editors & Converters
The Nokia 770, N800 andN810are 'Internet Tablets'running Maemo: a handheld Linux distribution based on Debian.
Although there is acommand line flasher availablefor Mac OS X from Maemo, there's no officialGUI interface for it. This has been written usingPlatypus and CocoaDialog and is, of course,supplied with no warranty.
This is not affiliated with Nokia and so if your machine turns into amongoose and starts dancing ballet, don'tblame me. Or blame me, but don't complain - or, more importantly, sue.
Usage
Download the latestNokia image (large file ending in .bin, for exampleNokia_770_0.2005.45-8.bin) and either selectthis file when prompted by 770Flasher, or just drag the file on to the770Flasher icon.
Screenshot
770Flasher-2.0.dmg(Mac OS X disk image, 361K, requires 10.3 or above)
tablet-encode (aka 770-encode)
770-encode has now been renamed tablet-encodeand moved to a larger project called mediautils.
Due to the unreliability of garage.maemo.org, there is a mirror here:
mediaserv
mediaserv is a project which allows you to convert, on-the-fly,video from a Linux, Unix or Mac OS X box and watch it on your Nokia InternetTablet. It even integrates with VideoCenter.
Like tablet-encode, this is part of mediautils.
Due to the unreliability of garage.maemo.org, there is a mirror here:
mediaserv.tar.gz(Perl tarball, v0.05, 29K)
mud-builder
MUD is anauto-builder, designed to make it easier for people to port, in a simple andmaintainable fashion, software to Maemo; customising the resulting packages toMaemo's subtle requirements.
More info can be found on its Garage page.
Wikipedia
Wikipedia is anexcellent online resource and tied with a network connection through aNokia 770 is almost equivalent to the Hitchhiker's Guide to the Galaxy.Although not yet available offline for Maemo, it is possible to enhanceWikipedia to make it look better on the 770's screen.
The default skin contains a long left-hand column, however by creatingan account with Wikipedia (which is free), you can change the 'skin'to one more suited to a device such as the 770.
Default style
'MySkin' style
Usage
Create an account on Wikipedia.
Go to the URL, http://en.wikipedia.org/wiki/User:YourUserName/myskin.css.='detail'>
Paste the code below into the text area andclick Save:
/* <pre><nowiki>*/ @import url('http://www.bleb.org/software/maemo/wikipedia/myskin.css'); /* </nowiki></pre> */
Go to your Preferences page and selectthe Skin category.
Select MySkin and click Save.
Backgrounds
Under development
I've currently got the following under development. For each there is a short description and links to screenshots and photos. If you have any questions on them, please don't hesitate to contact me. Updates will be provided in my diary.
Better Maemo planet layout
I don't like the new MaemoPlanet that much. I've developed a user style for Firefox to turnit into this.
ArcEm
Acorn Archimedes emulator, allowing RISC OS to be run on an ARM device inyour pocket. [1], [2],[photo 1], [photo 2].
NetSurf
A lightweight open source web browser, for when Opera is deciding to betempremental. [1], [2], [3], [photo].
Galculator
A scientific calculator. No screenshots available, but a straight-forward port of a Glade application.
Java
Following on from Alexander Lash's work porting JamVM/Classpath/Jikesto Maemo, I've some thoughts on auto-Hildonisation of Javaapplications which could help make Java a suitable high-level language forMaemo application development.
Older stuff
Sylpheed
Sylpheed is a full-featured email client: supporting POP3,IMAP, SSL and everything else you'd expect. The full feature list can beseen at the Sylpheed homepage.
This is a port and Hildonisation of Sylpheed to integrate it as a properMaemo application. It's not finished, and so should be viewedas an alpha-release. You may be better off using Claws or (even better, hopefully)Modest.
Known bugs
Not all windows are Hildonised yet (that is, many have menubars ratherthan pop-up menus, and so on).
Fix dependencies on N800 to avoid start-up problem (see this solution in the mean time).
Full-screen button doesn't work.
Some windows appear too small, others too big.
Select from middle of direction pad should open message in proper viewwindow.
Problems with (some?) LDAP servers.
...
Limitations
No GPG support as yet.
Address book functionality removed due to a bug.
Built-in FAQ, manual and support for non-English languages removed forspace reasons.
Screenshots
sylpheed.deb(Maemo v2 package, v2.2.0rc-3, 511K)
Rebuilding from source
If the binary above whets your appetite for Maemo development,and you want to help with this port, the Maemo port is being maintained in aSubversion repository.
Username/password: guest/guest.[Browse the source]
Synchronisation and backup using rsync & make
Please note this has not been updated for 2006 OS,instead I prefer bind-mounts, however it is easily customisable.
The built-in backup/restore tool doesn't backup all yourdevice's configuration or installed applications. This script (aMakefile)meets those requirements and allows for maintaining patched parts of the rootfilesystem across firmware upgrades.
Usage
Requires rsync and SSH (on both 770 & hostcomputer) and make on the host.
Memo For Management
To 'install' the script:
Create a new, empty directory, on a Unix-like box (e.g. Mac OS X,Linux, *BSD, Windows with cygwin) and ensure you have rsync, make and SSHinstalled.
Download Makefile.770sync and move it to thenew directory, named Makefile.
Modify the line beginning REMOTE_DEVICE topoint to your 770. For example, my 770 has a fixed IP, I have root accesson it (by enablingR&D mode) and Dropbear is running on port 22 (the default), thereforethe line in my local copy says:
There are three 'targets' which can be executed to act onyour device. To execute them, run the following command:
Memo For Mac
make target
push
Push changes in the local copy to the remote device. This is effectivelya restore from a backup, if pull has been previously run.
pull
Pull changes from the remote device to your local copy. Effectivelyperforming a backup.
bootstrap
Similar to push but doesn't use rsync. This is useful when yourdevice has just been reflashed and is missing any software. By just installingand starting SSH, thistarget can be used to restore your documents, changes and applications (suchas rsync). An article on dillernet.com,Recovering From A Firmware Flash, has some techniqueswhich may also help in this regard (specifically scripts to install theneeded packages & SSH keys from the MMC card).
Since bootstrap will generally be required when reflashing andbefore SSH is running as root; SSH may well be listening on port 2222 (ifstarted by an unprivileged user), rather than port 22. Therefore, you canoverride the REMOTE_DEVICE variable:
make [email protected]:2222/ bootstrap
Note: in this example, as the SSH server was started as anormal user, it would not be possible to restore symlinks in /etc.
Example
One common requirement when SSH is installed is startingit automatically when your device is turned on. This is easily done bycreating a symlink, as described in the InstallSsh document in the wiki.
Unfortunately, when you reflash your device, this symlink will be lost.However, by using the script you can ensure that this (and similar changes)are put back on the device when you restore:
$ mkdir ~/770-sync $ cd ~/770-sync $ wget http://bleb.org/software/maemo/Makefile.770sync $ mv Makefile.770sync Makefile $ mkdir -p etc/rc2.d $ ln -s /var/lib/install/etc/init.d/dropbear-server etc/rc2.d/S99dropbear-server $ make push
As you can see, the local 770-sync directorycontains a copy of any changes you've made to the file system. In addition,the user's home directory, the configuration and the installed applications are pulled back on a pull operation.
Citrix ICA client
The below screenshots show that theCitrixARM Linux client can be got to run on a Nokia 770, although it iscurrently much use: the virtual keyboard is tied to onboard GTK+applications. A USB keyboard, or a Bluetooth keyboard using kbddshould work, however.
The Citrix install file won't work with busybox's 'expr' implementation andwithout 'cpio'. The application itself requires a few extra debs (whichfortunately Debian/ARM can provide):
libxaw6_4.3.0.dfsg.1-14sarge1_arm.deb
libxmu6_4.3.0.dfsg.1-14sarge1_arm.deb
libxp6_4.3.0.dfsg.1-14sarge1_arm.deb
libxpm4_4.3.0.dfsg.1-14sarge1_arm.deb
Maemo For Mac Os
Unfortunately, with the advent of 2006 OS and the use of EABI, older ARMLinux binaries will no longer work on the 770 without recompilation. Therefore,unless Citrix recompile and provide new binaries, or an open source clientis made available, Citrix is not easily possible on a modernMaemo device.
Maemo For Macbook Air
vim/rsync
Memo For Microsoft Word
These ports were for the 2005 OS, and have now been removed.mud-builder isa project which aims to simplify simple ports like thesein future.
0 notes
Text
Tutorial: Moving The Sims 4 Folder Out of My Documents
Do this at your own risk!!! I am not responsible if you lose your Folder, saves, or mods. BACKUP EVERYTHING BEFORE YOU DO ANYTHING LIKE THIS!!!
Okay, so I hate that my mods folder is taking up space on my very small C Drive. I have still over 100GB space on my 1TB D Drive. About eight months ago, I learned a little trick linking folders on Windows 10 to mimic a program (like The Sims 4) to see it when it’s in a different place. This is called a Symbolic Link or Symlink. So, I got to thinking tonight, can I do that with the Sims 4 folder? And guess what? I can, and I did, and it worked. But why would you want to do this, you ask? PROS: You can have more mods! This is really something you would do if you’re running out of space and want to use a different hard drive. And your Sims 4 folder is no longer in your My Documents folder. That to me, is always a plus! CONS: The only downside I have found doing this, is that load times may be a tad longer, and that includes just loading lots and saves. It’s not significant for me, but it can be for some that don’t have powerful computers or gaming laptops. It is something you might want to think about.
Step 1: First thing you need to do, I backup your The Sims 4 folder to where you want it. I chose the D drive.
Step 2: Delete your The Sims 4 Folder in your My Documents. You have your backup in the other drive or location you chose. This is an important step. It will not work if there’s a folder in your My Documents already named The Sims 4. Step 3: Locate and open Command Prompt. I found mine under Windows Systems.
Step 4: In Command Prompt type this command: mklink /J “C:\[Your Path to Documents]\Documents\Electronic Arts\The Sims 4″ “[Location where your Sims 4 Folder you made in Step 1 is]″ It is important to include the quotation marks!!! See photo below to help you if you’re confused.
My paths will be different than yours, based on where you moved your The Sims 4 folder and where your Documents are located. Tip: Copy and paste the paths using the folders. That’s what I did. If all goes correct you should see Junction Created as above shows. Step 5: Test your game and see if your saves, mods, sims, and all that are in game.
9 notes
·
View notes
Text
On 05/15/2017, Apple released version 10.3.2 of their mobile operating system iOS. This is a minor release in terms of user features, yet big in terms of security.
Installation and Compatible Devices
iOS 10.3.2 is available for download as an Over The Air (OTA) update for all:
iPhone 5 or later (There are rumors that this update may not be compatible with the existing 32-bit iOS devices. If this is so, the supported devices list may start from the iPhone 5s onwards. I will update this section of the blog post once it has been confirmed.)
iPad 4th Generation or later
iPod Touch 6th Generation or later
An over-the-air update is a software update that is distributed over Wi-Fi or mobile broadband instead of requiring the user to connect the device to a computer via USB to perform the update.
#gallery-0-5 { margin: auto; } #gallery-0-5 .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%; } #gallery-0-5 img { border: 2px solid #cfcfcf; } #gallery-0-5 .gallery-caption { margin-left: 0; } /* see gallery_shortcode() in wp-includes/media.php */
Apple’s iOS 10.3.2 – Downloading
Apple’s iOS 10.3.2 – Installing
Apple’s iOS 10.3.2 – Settings
The file size for this update, according to my device, is around 195 MB. So it’s not too big of a download.
It is also available via iTunes.
Disclaimer
Before using either method, I highly recommend doing an iCloud backup of all your data (just in case). You can find the steps on how to do so here.
More than just Bug Fixes and Improvements
This update targets several vulnerabilities across different parts of the OS, such as:
AVEVideoEncoder, IOSurface, TextInput Addresses a memory corruption issue with improved memory handling, in order to prevent third party applications to gain kernel privileges.
CoreAudio and Kernel Addresses a validation issue with improved sanitization, preventing third party applications from reading restricted memory.
iBooks Fixes a URL handling issue through improved state management. Provides guarding against maliciously crafted books opening arbitrary websites without user permission. It also solves existing issue within the path validation logic for symbolic links (symlinks) via improved path sanitization. Protects from third party applications being able to execute arbitrary code with root privileges.
Kernel Addresses a race condition through improved locking. Prevents third party applications from executing arbitrary code with kernel privileges.
Notifications Addresses a denial of service (DoS) issue through improved memory handling. Reduces the likeliness of malicious applications succeeding in a DoS attack.
Safari Solves an issue in the browser’s history menu through improved memory handling, in favor of DoS protection.
Security Updates the certificate trust policy.
SQLite Fixes a “use after free” and a buffer overflow issue, via improved memory management. Enhances input validation.
WebKit Adresses multiple memory corruption issues, via improved memory handling. As well as a logic issue which existed in the handling of:
– WebKit Editor commands – container nodes – pageshow events – cached frames – frame loading
It does this via improved state management.
The CVE IDs for all the issues mentioned in this blog post can be found in Apple’s article: About the security content of iOS 10.3.2.
Outro
If you enjoyed this blog post or found it helpful in any way, make sure to follow me on Twitter to find out when a new one is available.
Twitter: @giovanni0918
Github: giovanni0918
Website: giovanni-orlando.com
Apple's iOS 10.3.2 Security Update: You Probably Shouldn't Skip It On 05/15/2017, Apple released version 10.3.2 of their mobile operating system iOS. This is a minor release in terms of user features, yet big in terms of security.
0 notes
Text
Version 389
youtube
windows
zip
exe
macOS
app
linux
tar.gz
source
tar.gz
I had a great week. I fixed many small bugs, added some quality of life, and am rolling in updated downloaders for e621 and Deviant Art.
downloaders
Unfortunately, last week's e621 downloader was not getting md5 hashes reliably. This coupled with the URL format change often meant an increased bandwidth load for the subscriptions that were trying to re-find their place. Thankfully, another user has provided a more accurate one that rolls into today's update. It also pulls rating tags. If you paused your e621 subs, please resume them again.
Deviant Art have also been through a layout change recently. The existing file page parser was getting a little shaky, so I wrote a new one this week that uses their API. The default hydrus DA downloader is now wholly API-driven, so it should all be more resistant to any further changes on their frontend. If you would like to search for nsfw DA content, the default DA login still seems to work, but Hydrus Companion is also an excellent option.
For advanced users: Thanks to user contribution, there are two newer default file lookup scripts, an updated iqdb-based danbooru lookup and one for direct danbooru lookup using md5 hash.
For advanced users: The parser String Transformation system now has a 'url percent encoding' option for the encode/decode types. This lets you convert complicated text to a URL-parameter-friendly percent-encoded string, or vice versa, if you need to do something like a clever API URL transformation.
the rest
The way the new mpv.conf file was stored was failing for users with portable installs. This file is now cached in the db directory alongside your other user-configurable data. All users will reset to using the hydrus default mpv conf this week (now just in that new location), so if you have been using a different one, please re-set it just this once after you update.
Hitting Escape on a non-empty tag autocomplete text box will now clear that box. This sounds like a very small thing, but give it a go--since shift+home and ctrl+a are diverted to the list below when you have results, it feels nice to have a quick shortcut to reset. Hitting Escape on an empty tag input box continues to cause the box to first lose focus (hiding any floating dropdown list), and then, in the manage tags dialog, closes the dialog.
Short-duration media (e.g. a gif that only lasts 0.5s) now loop properly in slideshows with a longer slideshow period.
The new 'favourite searches' system now has a new 'empty page' default, which updating users will also receive. It is just a nice way to clear a page, but feel free to delete it if you do not like or need it.
The collect-by dropdown now has checkboxes again in Fusion style! It should be fixed for any other styles that had problems, but let me know if you get anything odd now.
A bug where pages created by the new 'duplicate page' command would accidentally share some data updates with their original until a client restart has been fixed.
full list
downloaders:
the e621 file page parser is updated again, thanks to a user's contribution. this one gets md5 and file url more reliably, and also gets rating tag
added a 'e621 file page (old format)' url class to help match and search for files downloaded with the old format. please be aware there is no good solution to auto-convert old urls to a new format yet, so this connection does not (yet) solve the old/new comparison test
updated deviant art file post parser to use their json api. this should be more resilient to their current layout changes
the nijie.info login script appears no longer to function. as with exhentai last week, it has been removed to make it easier to log in with hydrus companion. please use hydrus companion if you would like to log into nijie.info
updated file lookup scripts for 'iqdb danbooru' and 'danbooru md5' thanks to a user's contribution
.
the rest:
the way the mpv.conf works changes this week. it is now correctly fully portable, stored in the db directory beside the .db files. if this file does not exist, the 'default' as stored under the install_dir/static/mpv-conf folder will auto-populate it. if you have been using a non-default mpv conf, please re-set it one time after update, and you should be good
the code that loads mpv.conf is now more graceful on 'missing file' errors, which now means when both the db conf and the default conf are missing
hitting escape on a tag autocomplete input that has text will now clear that text! note that hitting escape on an _empty_ a/c input will still do 'lose focus' and then 'close dialog'
updated the slideshow logic so that if a media with duration has a shorter duration than the slideshow duration (e.g. a gif that lasts 0.5s on a 10s slideshow), the media will keep looping until the duration is up. media that has duration longer than the slideshow time will continue to play through once completely, delaying slideshow progression and then stopping promptly when it has finished
the string transformation system now allows 'url percent encoding' under the encode/decode type!
fixed the 'only add existing tags' filter in the tag import options, which was denying all the tested tags. it seems to have been hit by a typo in the last three months
the 'favourite searches' defaults now include an 'empty page' entry, which is a convenient way to simply clear a page. all users will also get this on update, feel free to delete if you don't like/need it
opening a new search page from a tag or an active search predicate ('open a new search page for...' or middle-click) now copies the file service (e.g. looking at trash) from the original page
opening a new search page in the 'all known files' file domain when the tag domain should be 'all known tags' (a currently unsupported combination) now coerces the tag domain to 'all local tags'
checkboxes should now appear again on the collect-by dropdown in Fusion (and hopefully any other) style
fixed an issue where entering 'namespace:*' explicitly would show the much less efficient wildcard search rather than the efficient 'anything' namespace search
fixed an issue where wildcard search could include multiple asterisks in a row
fixed an issue with page duplication where the main management object was not being duplicated properly until a session reload, meaning the two pages would sometimes share signals and changes
an old wx delayed hide/show performance hack is removed, making the floating autocomplete dropdown now update more smoothly to resize or move requests, such as when the main gui window is dragged
the program base installation directory is now calculated more accurately, both when running from source and the frozen build, and when launched using a symlink
install dir and db dir are now specified in the help->about window
the petition page content checkbox list now has a taller minimum height
improved error text reporting in hydrus service login failure, hydrus service delay reason-setting, and all 'cancelled' errors across the program
the review services panel now has elided... text. when unusually long errors propagate up to its status texts, it now won't suddenly jump to 2,000 pixels wide. full text appears in tooltips
code refactoring: the tag autocomplete input now now takes responsibility for the active predicate list above it
refactored some tag lists and added typing hints to improve how current page predicates are determined
did some prep work for tag filters supporting wildcards, but it isn't ready yet
cleaned up some wx->Qt data fetching code
misc code cleanup
next week
Next week is a 'cleanup' week. I want to focus on more wx->Qt code cleanup, removing more old UI hacks, improving layouts, and smoothing out how some behind-the-scenes updates are sent across the program.
I also want to have a deeper look into a bug in the duplicates system where the 'not related' relationship is not sticking when some duplicate search information is reset. I previously could not reproduce this, but I have had more reports of it in the past couple of weeks, so I expect to write some more automated test code to root it out.
0 notes
Text
Krusader Root Mode Issue
After upgrading to Linux Mint 19.3 and Krusader 2.7.0, I could not evoke Krusader Root Mode. It just stayed in a loop asking for my sudo password. The error mentioned the kdesu could not authenticate me.
I tried making a symlink pointing kdesu to kdesudo – no help.
Searching Synaptic (the real Ubuntu one, not the crippled Mint one), I found and installed libkf5su-bin, “runtime files for kdesu” –…
View On WordPress
0 notes
Text
django import error - No module named core.management
Ok, I see plenty of these errors around. I have tried everything I know to do and have yet to figure this out.
I am working on a development server running python 2.5 and Django 1.3. Django 1.3 was installed using python setup.py install after unpacking the tar.gz download.
All works well, I seldom have the need to run manage.py but am trying to use the new staticfiles app and am running into problems.
python manage.py collectstaticTraceback (most recent call last): File "manage.py", line 2, in <module> from django.core.management import execute_managerImportError: No module named core.management
Ok, so I have PATH issue.
From Django install I double check my site-packages directory.
python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"/usr/lib/python2.5/site-packages
Ok, let's check out what I have, echo $PYTHON_PATH was empty, so I set it
export PYTHON_PATH=/usr/lib/python2.5/site-packages/django
Still no luck. Lets check what sys.path has to say
>>> import sys>>> print sys.path['', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/django', '/var/lib/python-support/python2.5']
path is there, I even created /usr/lib/python2.5/site-packages/django.pth with contents
cat /usr/lib/python2.5/site-packages/django.pth /usr/lib/python2.5/site-packages/django/
Anyone got an clues to what is going on here?
I found a symlink further up the path that was getting in the way, but no on to a new error.
python manage.py collectstaticTraceback (most recent call last): File "manage.py", line 14, in <module> execute_manager(settings) File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 438, in execute_manager utility.execute() File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 349, in execute version=get_version(), File "/usr/lib/python2.5/site-packages/django/__init__.py", line 12, in get_version from django.utils.version import get_svn_revisionImportError: No module named utils.version
I also tried creating a new project to see if there were any issues there and get the same utils.version error.
Side node: Unode from #django helped me a bit, set up virtualenv on same machine and got past the errors so still not sure what is up with this actual install here, but it seems to not be in the django projects but in the django/python install.
https://codehunter.cc/a/django/django-import-error-no-module-named-core-management
0 notes
Link
Hey guys would love any help. Site here is on a GoDaddy WHM CPanel account.
Our site was recently hacked. Actually looks almost exactly the same case as this example: https://prakash-khadka.com.np/japanese-seo-hack-wordpress/ even the index.php file code uses the same variable names.
The part that isn’t the same is that even after removing EVERY SINGLE php file from our server’s public_html folder, the index.php file is still “regenerating” We’ve added an .htaccess line that denies all .php processing and the file still returns if I remove it, and if I modify it it changes back to the malicious version.
This leads me to believe that something was installed on the server itself, however the cpanel access we have set up doesn’t allow shell access, and has no chron jobs set up (via the UI anyways). So I don’t know what else could be triggering this file to reappear. It happens instantly with almost 0 delay when I delete the file. I am sure it’s being deleted and renaming just ends up in two files. I also don’t think it’s a symlink, unless cpanel doesn’t show those / handle those properly.
Any ideas? I’ve seen my share of hacked wordpress sites but never seen something like this. We’re currently trying to see:
If our host can help (doubtful)
If we can get shell access to SSH in and try to run it down (though if we didn’t, the hacker couldn’t have right?)
If we should just wipe the server and start fresh (though we’d probably need a new server from our host? Since we don’t know what to wipe?)
Submitted July 29, 2019 at 11:16PM by DrazeSwift https://www.reddit.com/r/webhosting/comments/cjno5k/regenerating_indexphp_hack_wordpress_server/?utm_source=ifttt
from Blogger http://webdesignersolutions1.blogspot.com/2019/07/regenerating-indexphp-hack-wordpress.html via IFTTT
0 notes
Link
Backups!
After my last post, didn’t feel like writing for a while. But now I found a good subject: backups. Ah, backups…
I’ve run my current home-grown backup solution for a long time. Git history says at least since mid-2007 (so 11½ years), but the scripts didn’t start in Git, so 12 years is a fair assessment.
It’s a simple solution, based on incremental filesystem dumps, and back to level 0 periodically. I did use my backups to recover files (around once per year, I think), so it works, but it’s clunky. The biggest deficiencies are:
I don’t have enough space to backup everything I want to backup, if I want long-term history (since the full dumps every N units of time are costly).
Since the dump utility I use is limited to 9 levels, it also creates a limitation on how often I can make backups, which leads to too coarse backup granularity (and large at-risk intervals).
Since the dump is incremental, one needs to restore the correct archives in the correct order to get to the file… urgh!
Clearly I’m using technology from the stone-age, so this week I took a look at what’s available to replace my home-grown stuff.
But let’s make it clear first: I’m not interested in cloud-based backups as main solution. They might suit as an N+M (where M > 2) option, but not as primary/only solution. Plus, where’s the fun in delegating the technical stuff to others?
Various options
rsnapshot
The first thing I looked at, because it was on the back of my mind for a while, was rsnapshot. Its simplicity is very appealing, as well as its nice file-based deduplication, but a quick look at the current situation is not very encouraging:
it seems half-orphaned; not a very dire situation, but the fact that despite much discussion on that bug, it didn’t get a clear clojure; activity is small, the last official release was in 2015 and only a few commits since then;
low activity wouldn’t be a problem, but there are quite a few bugs filled that point to potential data loss, for example issue 141: “At certain conditions rsnapshot removes old backups without make new ones”;
Looking especially at the mentioned issue 141 made realise that the use of relative (e.g. hourly.N, etc.) timestamps is what leads to fragility in the script. Ideally the actual directories would be absolute-timestamp-based (e.g. 2018-12-09T15:45:44), and there would be just helpful symlinks (hourly.0) to these. Sure, there is the “sync_first” mode which seems safer, but it still doesn’t guarantee the correct transition since the various rotate calls are independent from each other and from the sync action itself.
Speaking of the rotate calls, the whole cron story (“create a cron entry for each cycle, and make sure to run the greater period ones before the lower periods”) points to more issues regarding the architecture of the rotation.
The conclusion was that at best, this would be a small improvement on my current solution. And since rsnapshot itself is a 4K LOC Perl script, I’m unlikely to contribute significantly to it; also, my desired changes would change the use of it significantly.
So, if this doesn’t work, what about other solutions?
borg backup
A tool very highly spoken of in the DIY/self-hosting backups is borgbackup. A quick look at it shows many advantages over rsnapshot:
space efficient storage, due to chunk-based (variable chunk? not entirely clear what’s the criteria for chunk length) deduplication, even across source filesystems/source machine/etc.
data encryption, yay!
customisable compression
It also can do off-site backups, of course, also requiring SSH access; and if the tool is also installed remotely, it’s much more efficient.
Something not clearly spoken about in the readme is the “correct” (IMHO) handling of repository maintenance: since archives are time-based and not relative, you declare pruning much more logically, along the lines of “keep only N backups older than T”. And it’s pruning, not rotation, which is very good.
Add on top the better handling of multiple filesystems/areas to be backed up, all in a single repository, and at first glance everything looks good. But a bit deeper look make me worried about a few things.
Reliability: On one hand, the archives are mountable. Which seems fancy. But it also means that without the tool working, and the metadata in good shape, you can’t access the data. A quick look at the design shows significant complexity, which means likely bugs, in the whole archive/database/chunk handling. If this would be the only way to get space-efficient compression, all would be good, but if you’re willing to give up encryption (at least for local backups this can be an acceptable trade-off), then rsnapshot plus a tool like duperemove which can do block-based deduplication (yes, it will kill performance on HDDs) seems a much simpler way to get the same result. And without the entire overhead of “your repository consists of opaque blobs” potential problem.
Of course, having significant internal state, there are tools to support this, like borg check and borg recreate, but the existence of these tools in itself confirms to me that there’s an inherent risk in such a design. A rsnapshot directory can be deleted, but it’s hard to get it corrupted.
Speaking of mounting archives, it also means that getting to your files a few hours ago is not as trivial as in rsnapshot’s case, which is simply cp /snapshots/hourly.3/desired/path/file ., without mounting, needing to come up with the right permissions to allow unprivileged users to do it, etc.
Security: The promise of isolating clients from bad servers and viceversa is good indeed. But it also has a few issues, out of which for my use case most important is the following: in order to allow clients to only push new archives, but not delete/break old ones (i.e. append-only mode), one can set a per-connection (via SSH keys forced command args) append only mode: you just need to set --append-only for that client. It gives a nice example, but it ends up with:
As data is only appended, and nothing removed, commands like prune or delete won’t free disk space, they merely tag data as deleted in a new transaction.
Be aware that as soon as you write to the repo in non-append-only mode (e.g. prune, delete or create archives from an admin machine), it will remove the deleted objects permanently (including the ones that were already marked as deleted, but not removed, in append-only mode).
So basically, the append only mode is not “reject other actions” (and ideally alert on this), but rather “postpone modifications until later”, which makes it IMHO useless.
Conclusion: borg backup is useful if you want a relatively hands-off, works well solution, but it has corner cases that kind of nullify its space savings advantage, depending on your trade-offs. So, not for me.
What would my ideal solution be?
After thinking on it, these are the important trade-offs:
File or block/chunk-based deduplication? Given native (file-system-level) block-based deduplication, a “native” (in the backup tool) seems preferred for local backups; for remote backups, of course it’s different, but then deduplication with encryption is its own story
File storage: native (1:1) or bundled (and needs extraction step); I personally would take native again, just to ensure I can get access to the files without the tool/its internal state to be needed to work
Per-file-system or global repository: ideally global, so that different file-systems don’t require separate handling/integration.
This leans more towards a rsnapshot-like solution… And then there are additional bonus points (in random order):
facilitating secure periodic snapshots to offline media
facilitating secure remote backups on dumb storage (not over SSH!) so that cloud-based backups can be used if desired
native support for redundancy in terms of Reed-Solomon error correction so that small blocks being lost don’t risk losing an entire file
ideally good customisation for the retention policy
ideally good exclusion rules (i.e. needing to add manually /home/*/.mozilla/cache is not “good”)
That’s a nice list, and from my search, I don’t think there is something like that.
Which makes me worried that I’ll start another project I won’t have time to properly maintain…
Next steps
Well, at least the next step is to get bigger harddrives for my current backup solution ☺ I’m impressed by the ~64K hours (7+ years) Power_On_Hours of my current HDDs, and it makes me feel good about choosing right hardware way back, but I can buy now 5× or more bigger hard-drives, which will allow more retention and more experiments. I was hoping I can retire my HDDs completely and switch to SSDs only, but that’s still too expensive, and nothing can beat the density and price of 10TB+ HDDs…
Comments and suggestions are very welcome! In the meantime, I’m shopping for hardware :-P
via Planet Debian
0 notes
Text
Symbolic Links for Easier Multi-Folder Local Development
You know how you open a "project" in a local code editor? I guess different editors have different terminology for it, but essentially what you are doing is opening a folder/directory and it shows you a sidebar full of files and folders you can navigate through and such.
Typically there is one parent folder, and everything else is within that folder. Right? Well, it doesn't have to be! That's where symbolic links come in.
Otherwise known as symlinks, they are like pointers to another place. While you don't have to actually move the folder you are referencing, you can create a pointer to it that behaves as if you did.
You can create them right from the command line:
ln -s /path/to/original/ /path/to/link
You'll get a link that looks like an "alias" on macOS. Ya know, the things you can make by right-clicking an item or going File > Make Alias. But they are different. In my experience, aliases tend not to work in code editors, but symlinks do.
Looks like an alias, but it's really a symlink.
I was actually lazy (hey, I prefer GUIs for just about everything) and used Nick Zitzmann's symboliclinker context menu plugin to help make the link I wanted (and allow me to make other ones super easy).
Why bother? I've had a handful of occasions over the years, but here's one that just came up for me. I'm working on a WordPress theme, and there is a WordPress Functionality Plugin that goes with it. Ideally, I'd have just my theme folder open in my code editor (no need to have the entire WordPress root there, that would just slow my editor and make searching a mess). But I'd also like to have that plugin open at the same time, so in case I'm calling functions and such that the plugin controls, I can see both. But these folders are in totally different places...
No matter, I can put a symlink to the plugin in the theme. (You may want to .gitignore it, depending on your deployment setup and such.) Now I can search and find things in both places like I want:
I know that some editors have their own concept of this, like VS Code's Multi-root Workspaces and how you can Project > Add Folder to Project in Sublime. But symlinks are a way to do the same thing but in a cross-editor and cross-system way that everyone can use!
The post Symbolic Links for Easier Multi-Folder Local Development appeared first on CSS-Tricks.
😉SiliconWebX | 🌐CSS-Tricks
0 notes