Posts by Category

java

How to use rdb

8 minute read

PostGre SQL ```java String url = “jdbc:postgresql://localhost/test”; Properties props = new Properties(); props.setProperty(“user”,”fred”); props.set...

How to use slf4j

less than 1 minute read

Java의 주요 Logging Framework java.util.logging : Not used recently Log4J : Generally used Logback : Similar to Log4J (same developer) SLF4J : faca...

Android MenuItem

less than 1 minute read

```java SearchView mSearchView; MenuItem mMenuItem;

Android Overlay

1 minute read

Screen Overlay is an advanced feature introduced in Android Marshmallow version that enables any app to appear on the top of other applications. Allowing per...

Android Gesture

2 minute read

A “touch gesture” occurs when a user places one or more fingers on the touch screen, and your application interprets that pattern of touches as a particular ...

Android Beep

less than 1 minute read

AndroidManifest.xml ```xml

Android Webview

4 minute read

It is a basic code for creating a web app using Android Webview. You can customize various kinds of settings. Some of the main functions of web application a...

XML Parser in java

2 minute read

This is an sime XML parser that can be easily used and modified to your project.

Json Parser in java

3 minute read

This is an sime JSON parser that can be easily used and modified to your project.

Making simple SmsSendHub in java

4 minute read

We can receive any alarm data from udp and send them to in-house sms server. Here is an example of using Tibero Database.

LayoutInflator

1 minute read

java.lang.Object android.view.LayoutInflater

Back to top ↑

c

Useful functions in c

4 minute read

Some functions can be useful to copy and paste. The following code snippets are some functions that I used before.

Hexadecimal log in c

1 minute read

When you are network-programming, you can use logging function if you have special characters such as NULL, STX, ETX, etc., and if you have the wrong value, ...

Simple multicast receiver in c

2 minute read

A simple test program can be created for receiving multicast data. Socket buffer size of multicast is limited and udp data can be easily dropped. So it is hi...

makefile scripts and samples

2 minute read

It is efficient to use scripts when the machine environment is diverse. Most of the settings are standardized. Modify the scripts if you use external librari...

How to initialize variables in c

less than 1 minute read

Initializing is not complex but something different for various languages. It makes me tired to remember if I start to use another language from time to time...

Tips for including headers in c

1 minute read

If we use high level languages and get used to developer environments such as visual studio, eclipse, android studio, inclusion and import are very easy. In ...

Basic grammar for c

4 minute read

c is one of my favorite languages but it’s still not easy to use. Sometimes I forget some grammars and I’m also having trouble to remember the loop statement...

Back to top ↑

os

Useful tips for profile

less than 1 minute read

If you are familiar with unix or linux, you know how important profile settings are. If I were to build a new server environment, I would check the profile f...

Useful tips for vim

3 minute read

In vim, you can use more powerful functions than vi. It’s easy to specify a region for copying and divide windows. It is convenient to use comparative utilit...

Useful tips for vi

7 minute read

vi is one of the most frequently used editing tools for the unix operating system. vim is more powerful editor. It has so much functions, it is hard to remem...

Useful tips for crontab

1 minute read

Cron service can be used to schedule obvious things, such as regular backups that occur daily or weekly. The crond daemon is the background service that enab...

Useful tips for linux

1 minute read

Among the various commands available in Linux, we have summarized useful things.

Back to top ↑

shl

How to add scraping url for batch in linux

less than 1 minute read

It is effective to use the crontab for the batch schedule. For example, You can create a batch program using the web and register the task in the crontab. In...

How to use ftp and sftp in linux

less than 1 minute read

Even though ftp is not good for security when you use it in the scripts, it is still easily usable and powerful. I use ftp and sftp scripts for batch job.

How to check weakness in linux

less than 1 minute read

Almost all companies should check the weakness of server and report to the supervisory authority. We suggest simple scripts for checking world writable files...

Basic information for shell script

2 minute read

A shell script is a computer program designed to be run by the Unix shell, a command-line interpreter. The various dialects of shell scripts are considered t...

Back to top ↑

py

Tensorflow

less than 1 minute read

Machine Learning Link : Tensorflow blog

Basic information for python

5 minute read

Recently, python users have been increased rapidly. Python’s various libraries, such as tensor flow, and machine learning will attract many users in the futu...

Back to top ↑

sql

Useful tips for Oracle database

6 minute read

The following sql codes were used to refer to occasionally. It’s good to think of it as a note because it’s hard to remember all the subtle differences among...

Back to top ↑

cs

Utils for c#

less than 1 minute read

I have used many functions before, but I was lazy to recorded it. These functions are just the beginnings of my recording.

Basic information for asp

1 minute read

ASP.NET MapRoute (Global.asax) protected void Application_Start(object sender, EventArgs e) { RouteTable.Routes.MapPageRoute("route_api", "api", "~/Commo...

Back to top ↑

javascript

Utils for javascript

6 minute read

The following codes are the functions that I’ve frequently used in my project. I’d like to copy and paste these codes to save my time from my repetitive jobs...

How to use jquery in javascript

3 minute read

jQuery was created in 2006 by John Resig. It was designed to handle Browser Incompatibilities and to simplify HTML DOM Manipulation, Event Handling, Animatio...

Back to top ↑

web

Using bootstrap

less than 1 minute read

Bootstrap is a free and open-source CSS framework directed at responsive, mobile-first front-end web development. It contains CSS- and (optionally) JavaScrip...

Building web server with Node.js

3 minute read

You can easily build the web server with Node.js on the Linux or Unix. I’ve used it to build a monitoring web server. You can gather monitoring data by selec...

Basic information for HTTP and HTML

2 minute read

If you use web programming, you need basic knowledge about http protocol. Google, Amazon, and others offer a variety of web APIs. Coin Exchange also uses a l...

Back to top ↑

android

Android Troubleshooting

less than 1 minute read

Reduce android studio size : Just uncheck in SDK Manager - More specifically here

Back to top ↑

cpp

Basic tips for c++

1 minute read

NULL vs NIL Each language has its own identifier for no object. In C the standard library, NULL is a typedef of ((void )0). In C++ the standard library, NULL...

Back to top ↑

vb

Back to top ↑

html css

HTML5 and CSS3

less than 1 minute read

html ```html <!DOCTYPE html> This is title of this page.

Back to top ↑