ytyng.com

Latest Articles

Page 16
mac
2013-09-26 12:31 (12 years ago)
Commercial Use of macOS Say Command (TTS) Output is Prohibited

On a Mac,

Django
2013-09-21 04:04 (12 years ago)
Add Custom HTML to Django Admin Form Templates

1. Define change_form_template in the admin.py module Specify the location of the custom template

PC/Etc
2013-09-18 06:23 (12 years ago)
MySQL 5.6: ERROR 1265 (01000): Data truncated for column ... prevents SQL execution

Isn't sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES specified in your my.cnf?

PC/Etc
2013-08-30 10:51 (12 years ago)
Converting a Large SVN Repository Segment into a Git Repository

Prerequisites There is a large SVN repository, and one of the directories within it is the source code directory. The other directories contain documents and mysqldumps. We have been operating by performing an SVN checkout and updating only the source code directory. We want to migrate to Git. However, the directories other than the source code directory are large in size, so we do not want to include them in the repository. What We Tried git svn clone -s --prefix svn/ http://my-svn-server/svn/myproject/ myproject → This results in a huge myproject repository that includes documents and mysqldumps.

mac
2013-08-24 09:49 (12 years ago)
Turning Your iPad into a Midi Controller for GarageBand on Mac

What you need is a Midi controller app for iPad. For example, the following app costs 170 yen.

Linux
2013-08-03 01:29 (12 years ago)
Install MediaWiki with Visual Editor Enabled

I was thinking of creating an internal information sharing service using a Wiki. However, considering that non-developers would also be using it, I thought it would be best to have one with a WYSIWYG editor.

Making
2012-03-24 16:33 (14 years ago)
Sony HMZ-T1: Expanded Lens Spacing & Headphone Removal

I had pre-ordered the Sony HMZ-T1 at the end of 2011, but it finally arrived in March 2012.

Python
2011-12-29 03:04 (14 years ago)
Resolving Readline Errors When Running iPython

When I switched to MacOS Lion and was setting up my environment, I encountered the following error when running iPython:

Django
2011-09-10 11:32 (14 years ago)
recreate-migration: BASH Function to Recreate Migration

Rollback the migration, delete all migration scripts, and then redo the schema migrations.

Django
2011-09-10 11:20 (14 years ago)
Template Tags for Time Branching: ifbefore, ifafter, ifafterbefore

```python

Linux
2011-07-18 14:56 (14 years ago)
Ubuntu: Keep Unity UI Launcher (Dock) Always Visible

Ubuntu 11.04

PC/Etc
2011-06-27 03:10 (14 years ago)
When Updated to Eclipse PyDev 2.2.0, Editor Tab Names Became Longer → Fixed

After updating Eclipse to Indigo and installing Pydev 2.2.0, I noticed that the editor tabs defaulted to the long-winded display format like the old Pydev.

Django
2011-06-21 06:24 (14 years ago)
Creating Dummy Text with Lorem Ipsum

```html Using template tags like lorem, you can create dummy data for articles utilizing the django.contrib.webdesign.lorem_ipsum package.

Django
2011-06-20 17:14 (14 years ago)
Django admin sets default form field values based on GET parameters

When you pass a GET query like

PC/Etc
2011-06-19 03:40 (14 years ago)
Retrieve a User's Tweet List without Authentication using the Twitter Search API

<!DOCTYPE html>

Django
2011-06-17 07:09 (14 years ago)
Management Command to Visualize Model Relationships

```python

Django
2011-06-17 01:10 (14 years ago)
Remove the Delete Button from the Django Admin Interface

Disable Deletion from List Checkboxes Create a file like common/admins.py

Django
2011-06-12 03:17 (14 years ago)
KvsModel: Using KVS (like TokyoTyrant) as a Model

```python

Python
2011-06-10 17:02 (14 years ago)
Clipboard Input and Output

I'm not very confident about the GTK part

Django
2011-06-10 16:17 (14 years ago)
Expand the Textarea of the TextField in Admin

Here's the English translation of the provided Japanese blog article: --- When working with Django models,