// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",

    // You can add more global application settings here.
    // To learn more about global settings, visit https://aka.ms/terminal-global-settings

    // If enabled, selections are automatically copied to your clipboard.
    "copyOnSelect": false,

    // If enabled, formatted data is also copied to your clipboard
    "copyFormatting": false,

    // A profile specifies a command to execute paired with information about how it should look and feel.
    // Each one of them will appear in the 'New Tab' dropdown,
    //   and can be invoked from the commandline with `wt.exe -p xxx`
    // To learn more about profiles, visit https://aka.ms/terminal-profile-settings
    "profiles":
    {
        "defaults":
        {
            // Put settings here that you want to apply to all profiles.
        },
        "list":
        [
            {
                // Make changes here to the powershell.exe profile.
                "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
                "name": "Windows PowerShell",
                "commandline": "powershell.exe",
                "hidden": false
            },
            {
                // Make changes here to the cmd.exe profile.
                "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
                "name": "Command Prompt",
                "commandline": "cmd.exe",
                "hidden": false
            },
            {
                "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
                "hidden": false,
                "colorScheme" : "Material Darker",
                "name": "Ubuntu",
                "source": "Windows.Terminal.Wsl",
                "cursorColor" : "#FFFFFF",
                "cursorShape" : "filledBox",
                "fontFace" : "MesloLGS NF",
                "fontSize" : 11,
                "historySize" : 9001,
                "padding" : "0, 0, 0, 0",
                "snapOnInput" : true,
                "startingDirectory" : "//wsl$/Ubuntu/home/계정명"
            },
            {
                "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
                "hidden": false,
                "name": "Azure Cloud Shell",
                "source": "Windows.Terminal.Azure"
            }
        ]
    },

    // Add custom color schemes to this array.
    // To learn more about color schemes, visit https://aka.ms/terminal-color-schemes
    "schemes": [
        {
            "name" : "Dracula",
            "background" : "#282A36",
            "black" : "#21222C",
            "blue" : "#BD93F9",
            "brightBlack" : "#6272A4",
            "brightBlue" : "#D6ACFF",
            "brightCyan" : "#A4FFFF",
            "brightGreen" : "#69FF94",
            "brightPurple" : "#FF92DF",
            "brightRed" : "#FF6E6E",
            "brightWhite" : "#FFFFFF",
            "brightYellow" : "#FFFFA5",
            "cyan" : "#8BE9FD",
            "foreground" : "#F8F8F2",
            "green" : "#50FA7B",
            "purple" : "#FF79C6",
            "red" : "#FF5555",
            "white" : "#F8F8F2",
            "yellow" : "#F1FA8C"
        },
        {
            "name": "Material",
            "background": "#263238",
            "foreground": "#eeffff",
            "black": "#000000",
            "blue": "#82aaff",
            "brightBlack": "#546e7a",
            "brightBlue": "#82aaff",
            "brightCyan": "#89ddff",
            "brightGreen": "#c3e88d",
            "brightPurple": "#c792ea",
            "brightRed": "#ff5370",
            "brightWhite": "#ffffff",
            "brightYellow": "#ffcb6b",
            "cyan": "#89ddff",
            "green": "#c3e88d",
            "purple": "#c792ea",
            "red": "#ff5370",
            "white": "#ffffff",
            "yellow": "#ffcb6b"
        },
        {
            "name": "Material Darker",
            "background": "#000000",
            "foreground": "#eeffff",
            "black": "#000000",
            "blue": "#4d7fe9",
            "brightBlack": "#90a4ae",
            "brightBlue": "#82aaff",
            "brightCyan": "#89ddff",
            "brightGreen": "#c3e88d",
            "brightPurple": "#c792ea",
            "brightRed": "#ff5370",
            "brightWhite": "#ffffff",
            "brightYellow": "#ffcb6b",
            "cyan": "#89ddff",
            "green": "#c3e88d",
            "purple": "#c792ea",
            "red": "#ff5370",
            "white": "#ffffff",
            "yellow": "#ffcb6b"
        },
        {
            "name": "Material Lighter",
            "background": "#fafafa",
            "foreground": "#90a4ae",
            "black": "#000000",
            "blue": "#6182b8",
            "brightBlack": "#90a4ae",
            "brightBlue": "#6182b8",
            "brightCyan": "#39adb5",
            "brightGreen": "#91b859",
            "brightPurple": "#7c4dff",
            "brightRed": "#e53935",
            "brightWhite": "#ffffff",
            "brightYellow": "#ffb62c",
            "cyan": "#39adb5",
            "green": "#91b859",
            "purple": "#7c4dff",
            "red": "#e53935",
            "white": "#ffffff",
            "yellow": "#ffb62c"
        },
        {
            "name": "Material Ocean",
            "background": "#0f111a",
            "foreground": "#8f93a2",
            "black": "#000000",
            "blue": "#82aaff",
            "brightBlack": "#464b5d",
            "brightBlue": "#82aaff",
            "brightCyan": "#89ddff",
            "brightGreen": "#c3e88d",
            "brightPurple": "#c792ea",
            "brightRed": "#ff5370",
            "brightWhite": "#ffffff",
            "brightYellow": "#ffcb6b",
            "cyan": "#89ddff",
            "green": "#c3e88d",
            "purple": "#c792ea",
            "red": "#ff5370",
            "white": "#ffffff",
            "yellow": "#ffcb6b"
        },
        {
            "name": "Material Palenight",
            "background": "#292d3e",
            "foreground": "#a6accd",
            "black": "#000000",
            "blue": "#82aaff",
            "brightBlack": "#676e95",
            "brightBlue": "#82aaff",
            "brightCyan": "#89ddff",
            "brightGreen": "#c3e88d",
            "brightPurple": "#c792ea",
            "brightRed": "#ff5370",
            "brightWhite": "#ffffff",
            "brightYellow": "#ffcb6b",
            "cyan": "#89ddff",
            "green": "#c3e88d",
            "purple": "#c792ea",
            "red": "#ff5370",
            "white": "#ffffff",
            "yellow": "#ffcb6b"
        }
    ],

    // Add custom keybindings to this array.
    // To unbind a key combination from your defaults.json, set the command to "unbound".
    // To learn more about keybindings, visit https://aka.ms/terminal-keybindings
    "keybindings":
    [
        // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
        // These two lines additionally bind them to Ctrl+C and Ctrl+V.
        // To learn more about selection, visit https://aka.ms/terminal-selection
        { "command": {"action": "copy", "singleLine": false }, "keys": "ctrl+c" },
        { "command": "paste", "keys": "ctrl+v" },

        // Press Ctrl+Shift+F to open the search box
        { "command": "find", "keys": "ctrl+shift+f" },

        // Press Alt+Shift+D to open a new pane.
        // - "split": "auto" makes this pane open in the direction that provides the most surface area.
        // - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
        // To learn more about panes, visit https://aka.ms/terminal-panes
        { "command": { "action": "splitPane", "split": "auto", "splitMode": "duplicate" }, "keys": "alt+shift+d" }
    ]
}
Posted by WaaGrr :

둘다 S6엣지로 찍은 사진이다.

S6엣지가 사진이 잘나오는듯함


키캡 마감이 조금 아쉽긴하지만 묵직함이 마음에든다.


나같은경운 무게감이 좀 있어도 구름타법으로 가볍게 치기때문에 무거운 키압은 별로 신경안쓰는데 

다른사람들은 무겁다고 한다..

내가 녹축을 쓸때 부터 다름을 알았어야하는데.


여튼 만족한다.


이번엔 빨콩이 달려있는 EnduraPro 모델을 사볼까 한다.

서버작업할때 너무나도 요긴할것 같다.







Posted by WaaGrr :

Percona 서버는 MYSQL클론 버전이다. 

자세한 내용은 아래를 참고하자

http://blog.embian.com/3


핵심은 mysql엔지니어들이 따로 만든 클론이고 나름 우수하다는것이다 TokuDB랑 ㅋ


sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
echo "deb http://repo.percona.com/apt "$(lsb_release -sc)" main" | sudo tee /etc/apt/sources.list.d/percona.list
echo "deb-src http://repo.percona.com/apt "$(lsb_release -sc)" main" | sudo tee -a /etc/apt/sources.list.d/percona.list
sudo apt-get update
sudo apt-get install percona-server-server-5.6 percona-server-client-5.6
 mysql -uroot -p -e "CREATE FUNCTION fnv1a_64 RETURNS INTEGER SONAME 'libfnv1a_udf.so'"
 mysql -uroot -p -e "CREATE FUNCTION fnv_64 RETURNS INTEGER SONAME 'libfnv_udf.so'"
// mysql -e "CREATE FUNCTION murmur_hash RETURNS INTEGER SONAME 'libmurmur_udf.so'"
sudo service mysql start

Posted by WaaGrr :

http://www.walking-productions.com/notslop/2013/01/16/android-live-streaming-courtesy-of-javacv-and-ffmpeg/


'개발::. > 안드' 카테고리의 다른 글

android FFmpeg 컴파일  (0) 2015.06.10
JAVA, Android에서 문자열에서 URL추출하기 (정규식)  (0) 2015.03.30
Posted by WaaGrr :

android FFmpeg 컴파일

2015. 6. 10. 09:57 from 개발::./안드

FFmpeg를 활용한 안드로이드 스트리밍 클라이언트를 만드려 한다.

http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/

여기가 잘나와있고 일단 한방에 성공했다.

나중에 래핑했을때가 문제지..

Posted by WaaGrr :



'사진::.. > 비인물사진' 카테고리의 다른 글

30D, 고구마 렌즈. 하늘공원  (0) 2015.03.30
S5pro 다중노출  (0) 2015.03.30
용기를 내보면...  (0) 2013.07.08
수많은 꽃들 중에서  (0) 2013.07.08
어두운곳에서 빛나는 빛  (0) 2013.07.06
Posted by WaaGrr :

고등학교 2학년때였던가 

고구마렌즈에 30D빌려서 찍었던거.

(30D아닌가. EXIF날아간 보정본밖에 없네)








'사진::.. > 비인물사진' 카테고리의 다른 글

30D, 고구마 렌즈, 하늘공원  (0) 2015.03.30
S5pro 다중노출  (0) 2015.03.30
용기를 내보면...  (0) 2013.07.08
수많은 꽃들 중에서  (0) 2013.07.08
어두운곳에서 빛나는 빛  (0) 2013.07.06
Posted by WaaGrr :

사실 나는 다중노출로 표현을 해볼일이 없고 

포토샵이 있기 때문에 더더욱 사용을 안하는 기능이긴하다

그래도 한번 써보고 싶어서 찍어놓았는데 

이쁘긴하다 



'사진::.. > 비인물사진' 카테고리의 다른 글

30D, 고구마 렌즈, 하늘공원  (0) 2015.03.30
30D, 고구마 렌즈. 하늘공원  (0) 2015.03.30
용기를 내보면...  (0) 2013.07.08
수많은 꽃들 중에서  (0) 2013.07.08
어두운곳에서 빛나는 빛  (0) 2013.07.06
Posted by WaaGrr :

프로젝트 작업중에 문자열들에서 url을 뽑아야하는 문제가 있었다

두가지의 신경쓸게 있었다.

http, https로 시작하지 않아도 잘되야한다 ex) aaa.com

빨라야한다


처음에 자바의 스트링기능을 사용했다 

짧은글은 그럭저럭 하지만 이게 긴글을 대상으로 하니 꽤 눈에 띄일정도로 속도가 정규식과 차이가 나게되었다.


삽질하면서 정규식 만들었다. 

이것보다 짧고 좋게 만든것도 있겠지.


PHP, Javascript, python 은 널려있으니 그냥 찾으면되는데

자바는 이 조건을 충족하는게 좀처럼 보이지 않았다.


그래서 직접 삽질해서 했다.

마침 IDE도없는터라 온라인 컴파일러로 깨작깨작했다.


귀찮아서 그냥 소스코드만 적는다

아래 regex 스트링을 잘보면된다.


public static String UrlHtml(String str){

        StringBuffer sb = new StringBuffer();

                String regex ="[(http(s)?):\\/\\/(www\\.)?a-zA-Z0-9@:%._\\+~#=]{2,256}\\.[a-z]{2,6}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)";

        

        

        Pattern p = Pattern.compile(regex);

        Matcher m=p.matcher(str);        

        

        if(m.find()){

            sb.append(m.group(0));

            System.out.println("==="+m.group(0));

            /*for(int i=0;i<=m.groupCount();i++){    

                System.out.println(i+"==="+m.group(i));

                sb.append(m.group(i));

            }*/

        }

'개발::. > 안드' 카테고리의 다른 글

java CV + FFmpeg 스트리밍 클라이언트.  (0) 2015.06.10
android FFmpeg 컴파일  (0) 2015.06.10
Posted by WaaGrr :

최근 들어 우분투 기본 APM모듈에 대해서 문제점을 조금 느끼고 있어서 매우 짜증나게 여기고 있다.


이문제는 우분투 12.04환경에서 확인했으며 최근버전에도 그랬던것같다 (14.04)


처음엔 shorttag문제인줄 알았는데 그게 아니더라


그래도 몇개월된 문제였던것같은데 ㅡ.ㅡ;;




mod_userdir 모듈과의 문제인듯 


1) sudo vim /etc/apache2/mods-enabled/php5.conf

2) comment all lines from <IfModule mod_userdir.c> to the next </IfModule>

3) sudo service apache2 reload


그냥 모두 주석 처리하면됨


Posted by WaaGrr :